Class EntityIdCriterion

    • Constructor Detail

      • EntityIdCriterion

        public EntityIdCriterion​(@Nonnull @NotEmpty
                                 String entityId)
        Constructor.
        Parameters:
        entityId - the entity ID, can not be null or empty
    • Method Detail

      • getEntityId

        @Nonnull
        @NotEmpty
        public String getEntityId()
        Gets the entity ID.
        Returns:
        the entity ID, never null or empty
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object