Class AbstractDescribable

    • Constructor Detail

      • AbstractDescribable

        public AbstractDescribable()
        No-arg constructor added to satisfy javabean contract
    • Method Detail

      • hashCode

        public int hashCode()
        Returns a hash code based on this entity's identifiers.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object object)
        Returns true if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class Object
      • setDescription

        public void setDescription​(String description)
      • setId

        public void setId​(Long id)
      • getName

        public String getName()
        Description copied from interface: Describable
        Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.
        Specified by:
        getName in interface Describable
      • setName

        public void setName​(String name)