Class AbstractEntity

    • Constructor Detail

      • AbstractEntity

        public AbstractEntity()
    • Method Detail

      • getId

        public Long getId()
        Description copied from interface: IEntity
        Returns the id of the given entity.
        Specified by:
        getId in interface IEntity
        Returns:
        The id of the given entity.
      • setId

        public void setId​(Long id)
        Description copied from interface: IEntity
        Sets the id for the given entity.
        Specified by:
        setId in interface IEntity
        Parameters:
        id - The id for the given entity.
      • getName

        public String getName()
        Description copied from interface: IEntity
        Returns the name of the given entity.
        Specified by:
        getName in interface IEntity
        Returns:
        The name of the given entity.
      • setName

        public void setName​(String name)
        Description copied from interface: IEntity
        Sets the name for the given entity.
        Specified by:
        setName in interface IEntity
        Parameters:
        name - The name for the given entity.