All Implemented Interfaces:
Serializable

@Entity(name="Author") public class Author extends BaseEntity<Long>
The Author entity represents an author profile for the Insights section.

The Author's fields are defined as follows:

See Also:
  • Constructor Details

    • Author

      public Author()
  • Method Details

    • getKnownName

      public String getKnownName()
    • setKnownName

      public void setKnownName(String knownName)
    • getBio

      public String getBio()
    • setBio

      public void setBio(String bio)
    • getProfileFileName

      public String getProfileFileName()
    • setProfileFileName

      public void setProfileFileName(String profileFileName)
    • getAthlete

      public Athlete getAthlete()
    • setAthlete

      public void setAthlete(Athlete athlete)
    • equals

      public boolean equals(Object o)
      Description copied from class: BaseEntity
      Equality is based on the entity's identifier. Two entities are considered equal if they are of the same class and have the same non-null identifier.

      If the ID is null, we treat it as a transient (new) object. Transient objects are only equal if they are the exact same instance.

      Overrides:
      equals in class BaseEntity<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseEntity<Long>
    • toString

      public String toString()
      Overrides:
      toString in class Object