Package org.opensaml.core.criterion
Class EntityIdCriterion
- java.lang.Object
-
- org.opensaml.core.criterion.EntityIdCriterion
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Criterion
public final class EntityIdCriterion extends Object implements net.shibboleth.utilities.java.support.resolver.Criterion
Criterionrepresenting an entity ID.
-
-
Constructor Summary
Constructors Constructor Description EntityIdCriterion(String entityId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetEntityId()Gets the entity ID.inthashCode()StringtoString()
-
-
-
Field Detail
-
id
@Nonnull @NotEmpty private final String id
The entity ID.
-
-
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
-
-