Class IdentifiableValueObject<O extends Identifiable>

    • Field Detail

      • id

        protected Long id
    • Constructor Detail

      • IdentifiableValueObject

        protected IdentifiableValueObject()
        Default empty constructor for bean-style initialization.
      • IdentifiableValueObject

        protected IdentifiableValueObject​(Long id)
        Constructor that sets the common property of all identifiable objects, the ID.
        Parameters:
        id - the id of the original object.
      • IdentifiableValueObject

        protected IdentifiableValueObject​(O identifiable)
        Constructor for a given entity.
    • Method Detail

      • setId

        public final void setId​(Long id)
        Only used by the spring java-beans in jsp files. Should be called immediately after the no-arg constructor.
        Parameters:
        id - the id of this object.