public class SAML2AttributeInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_NAME_FORMAT_BASIC
URN for the basic attribute name format.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttributeValue(String attributeValue)
Adds a single String value to the end of this instance's collection of values.
|
void |
addAttributeValues(Collection<String> attributeValues)
Adds a collection of Strings representing the attribute's values.
|
String |
getAttributeFriendlyName()
Gets the friendly name of the attribute.
|
String |
getAttributeName()
Gets the name of the attribute.
|
String |
getAttributeNameFormat()
Gets the name format of the attribute.
|
Collection<String> |
getAttributeValues()
Returns a collection of Strings representing the attribute's values, in the order they were added.
|
void |
setAttributeFriendlyName(String attributeFriendlyName)
Sets the friendly name of the attribute.
|
void |
setAttributeName(String attributeName)
Sets the name of the attribute.
|
void |
setAttributeNameFormat(String attributeNameFormat)
Sets the name format of the attribute.
|
String |
toString() |
public static final String ATTR_NAME_FORMAT_BASIC
public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName
- the name of the attributepublic String getAttributeNameFormat()
SAML2AttributeInfo.ATTR_NAME_FORMAT_BASIC
if not
specified.public void setAttributeNameFormat(String attributeNameFormat)
attributeNameFormat
- the name format of the attributepublic String getAttributeFriendlyName()
public void setAttributeFriendlyName(String attributeFriendlyName)
attributeFriendlyName
- the friendly name of the attributepublic void addAttributeValue(String attributeValue)
attributeValue
- the attribute value to be addedpublic void addAttributeValues(Collection<String> attributeValues)
attributeValues
- the attribute's valuespublic Collection<String> getAttributeValues()