Class Attribute
java.lang.Object
com.tremolosecurity.saml.Attribute
- All Implemented Interfaces:
Serializable
Primary class for representing an attribute with a name and one or more values
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCreates an attribute with an empty name and no valuesCreates an attribute with a given name and no valuesCreates an attribute with a name and single valueCreates an attribute with values from an array of strings -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Retrieve the attribute's nameAttribute valuesvoid
setDataType
(Attribute.DataType dataType) void
Replaces the attribute's valuestoString()
String representation of the attribute, prints all values
-
Constructor Details
-
Attribute
public Attribute()Creates an attribute with an empty name and no values -
Attribute
Creates an attribute with a given name and no values- Parameters:
name
- Name for the attribute
-
Attribute
-
Attribute
-
-
Method Details
-
getValues
-
setValues
-
getName
-
toString
-
getDataType
-
setDataType
-