Class EntityGroupName


  • public class EntityGroupName
    extends Object
    A bean class which is used to represent an entity group to which an EntityDescriptor belongs. It will typically be attached to an entity descriptor via its XMLObject.getObjectMetadata().
    • Field Detail

      • name

        @Nonnull
        @NotEmpty
        private String name
        The entities descriptor group name.
    • Constructor Detail

      • EntityGroupName

        public EntityGroupName​(@Nonnull @NotEmpty
                               String newName)
        Constructor.
        Parameters:
        newName - the entity group name
    • Method Detail

      • getName

        @Nonnull
        @NotEmpty
        public String getName()
        Get the entity group name.
        Returns:
        the entity group name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object