All Implemented Interfaces:
Serializable

@Entity(name="Organizer") public class Organizer extends BaseEntity<Long>
The Organizer entity represents a single organizer of an endurance sport Event.

The Organizer's fields are defined as follows:

See Also:
  • Constructor Details

    • Organizer

      public Organizer()
      Default constructor for the Organizer entity.
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDistrict

      public String getDistrict()
    • setDistrict

      public void setDistrict(String district)
    • getCounty

      public String getCounty()
    • setCounty

      public void setCounty(String county)
    • getCity

      public String getCity()
    • setCity

      public void setCity(String city)
    • getOrganizerType

      public OrganizerType getOrganizerType()
    • setOrganizerType

      public void setOrganizerType(OrganizerType organizerType)
    • 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