Class ProfileIDCriterion

java.lang.Object
org.opensaml.profile.criterion.ProfileIDCriterion
All Implemented Interfaces:
Criterion

public final class ProfileIDCriterion extends Object implements Criterion
Criterion representing a profile ID.
  • Field Details

  • Constructor Details

    • ProfileIDCriterion

      public ProfileIDCriterion(@Nonnull @NotEmpty String profileId)
      Constructor.
      Parameters:
      profileId - the profile ID, can not be null or empty
  • Method Details

    • getProfileId

      @Nonnull @NotEmpty public String getProfileId()
      Gets the profile ID.
      Returns:
      the profile 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