Class EntityIdCriterion

java.lang.Object
org.opensaml.core.criterion.EntityIdCriterion
All Implemented Interfaces:
Criterion

public final class EntityIdCriterion
extends Object
implements Criterion
Criterion representing an entity ID.
  • Field Details

  • Constructor Details

    • EntityIdCriterion

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

    • getEntityId

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

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object