Class EntityAttributesPredicate.Candidate
- java.lang.Object
-
- org.opensaml.saml.common.profile.logic.EntityAttributesPredicate.Candidate
-
- Enclosing class:
- EntityAttributesPredicate
public static class EntityAttributesPredicate.Candidate extends Object
An object to encapsulate the set of criteria that must be satisfied by anEntityAttributesextension to satisfy the enclosing predicate.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the Attribute Name to match.StringgetNameFormat()Get the Attribute NameFormat to match.List<Pattern>getRegexps()Get the regular expressions to match.List<String>getValues()Get the exact values to match.voidsetRegexps(Collection<Pattern> exps)Set the regular expressions to match.voidsetValues(Collection<String> vals)Set the exact values to match.
-
-
-
Field Detail
-
nameFormat
@Nullable private final String nameFormat
Attribute NameFormat.
-
values
@Nonnull @NonnullElements private List<String> values
Values that must match exactly.
-
regexps
@Nonnull @NonnullElements private List<Pattern> regexps
Regular expressions that must be satisfied.
-
-
Constructor Detail
-
Candidate
public Candidate(@Nonnull @NotEmpty @ParameterName(name="name") String name)
Constructor.- Parameters:
name- Attribute Name to match
-
Candidate
public Candidate(@Nonnull @NotEmpty @ParameterName(name="name") String name, @Nullable @ParameterName(name="format") String format)
Constructor.- Parameters:
name- Attribute Name to matchformat- Attribute NameFormat to match
-
-
Method Detail
-
getName
@Nonnull @NotEmpty public String getName()
Get the Attribute Name to match.- Returns:
- Attribute Name to match
-
getNameFormat
@Nullable public String getNameFormat()
Get the Attribute NameFormat to match.- Returns:
- Attribute NameFormat to match
-
getValues
@Nonnull @NonnullElements @Unmodifiable @NotLive public List<String> getValues()
Get the exact values to match.- Returns:
- the exact values to match
-
setValues
public void setValues(@Nonnull @NonnullElements Collection<String> vals)
Set the exact values to match.- Parameters:
vals- the exact values to match
-
getRegexps
@Nonnull @NonnullElements @Unmodifiable @NotLive public List<Pattern> getRegexps()
Get the regular expressions to match.- Returns:
- the regular expressions to match.
-
setRegexps
public void setRegexps(@Nonnull @NonnullElements Collection<Pattern> exps)
Set the regular expressions to match.- Parameters:
exps- the regular expressions to match
-
-