Class AttributeType
java.lang.Object
org.keycloak.dom.saml.v2.assertion.AttributeType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RequestedAttributeType
Java class for AttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="NameFormat" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeValue
(Object value) Add an attribute value to the attributeGets the value of the attributeValue property.Gets the value of the friendlyName property.getName()
Gets the value of the name property.Gets the value of the nameFormat property.Gets a map that contains attributes that aren't bound to any typed property on this class.void
removeAttributeValue
(Object value) Remove an attribute value to the attributevoid
setFriendlyName
(String value) Sets the value of the friendlyName property.void
Sets the value of the name property.void
setNameFormat
(String value) Sets the value of the nameFormat property.
-
Field Details
-
attributeValue
-
name
-
nameFormat
-
friendlyName
-
-
Constructor Details
-
AttributeType
-
-
Method Details
-
addAttributeValue
Add an attribute value to the attribute- Parameters:
value
-Object
-
removeAttributeValue
Remove an attribute value to the attribute- Parameters:
value
-Object
-
getAttributeValue
Gets the value of the attributeValue property.For example, to add a new item, do as follows:
getAttributeValue().add(newItem);
Objects of the following type(s) are allowed in the list
Object
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getNameFormat
Gets the value of the nameFormat property.- Returns:
- possible object is
String
-
setNameFormat
Sets the value of the nameFormat property.- Parameters:
value
- allowed object isString
-
getFriendlyName
Gets the value of the friendlyName property.- Returns:
- possible object is
String
-
setFriendlyName
Sets the value of the friendlyName property.- Parameters:
value
- allowed object isString
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-