Class EntityType

  • All Implemented Interfaces:
    ReloadableEntity<Integer>

    @Entity
    public class EntityType
    extends Object
    implements ReloadableEntity<Integer>
    Class representing an EntityType This class contains an Integer ID that will be the unique value for this class and also the primary key This also has a label that will be used to identify what kind of EntityType this object is
    • Field Detail

      • id

        protected Integer id
        The Integer ID used as a primary key for this database object. This is generated by a sequence
    • Constructor Detail

      • EntityType

        public EntityType()
    • Method Detail

      • setId

        public void setId​(Integer id)
        The standard setter for the ID of this EntityType
        Parameters:
        id - The ID that this EntityType's ID will be set to
      • getLabel

        public String getLabel()
        The standard getter for the label of this EntityType
        Returns:
        The label for this EntityType
      • setLabel

        public void setLabel​(String label)
        The standard setter for the label of this EntityType
        Parameters:
        label - The label that this EntityType's label will be set to
      • getID

        public Integer getID()
        The standard getter for the ID of this EntityType
        Specified by:
        getID in interface ReloadableEntity<Integer>
        Returns:
        The ID for this EntityType