Class SimpleStringMetadataIndexKey
- java.lang.Object
-
- org.opensaml.saml.metadata.resolver.index.SimpleStringMetadataIndexKey
-
- All Implemented Interfaces:
MetadataIndexKey
public class SimpleStringMetadataIndexKey extends Object implements MetadataIndexKey
A simple implementation ofMetadataIndexKeybased on a single input string.
-
-
Constructor Summary
Constructors Constructor Description SimpleStringMetadataIndexKey(String newValue)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetValue()Get the string value used as the index key.inthashCode()StringtoString()
-
-
-
Field Detail
-
value
private String value
The indexed value.
-
-
Constructor Detail
-
SimpleStringMetadataIndexKey
public SimpleStringMetadataIndexKey(@Nonnull String newValue)Constructor.- Parameters:
newValue- the string value to use as the index key
-
-
Method Detail
-
getValue
@Nonnull public String getValue()
Get the string value used as the index key.- Returns:
- the string value
-
-