Package com.tivoli.am.rba.attributes
Class AttributeIdentifier
java.lang.Object
com.tivoli.am.rba.attributes.AttributeIdentifier
An AttributeIdentifier is an object that contains the uri, datatype and issuer (optional) that defines an attribute.
- Since:
- 8.0.0.3
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttributeIdentifier(String uri, String datatype, String issuer) AttributeIdentifier(String name, String uri, String datatype, String issuer) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Deprecated.The categories are in the form of XACML 2.0 subject identifier strings.getURI()inthashCode()voidsetDatatype(String datatype) voidvoidDeprecated.voidsetSubjectCategory(Attribute.Category category) This is used to set the subject category of the attribute.voidsetSubjectCategory(String subjectCategory) This is used to set the subject category of the attribute.voidtoString()
-
Field Details
-
sourceCodeID
- See Also:
-
copyright
-
-
Constructor Details
-
AttributeIdentifier
Deprecated.- Parameters:
name- shortname of attributeuri- is the validstring value for this attribute. This can also be considered as the 'id' of the attribute.invalid reference
URIdatatype- the type of dataissuer- the issuer for the attribute- Since:
- 8.0.0.3
- See Also:
-
AttributeIdentifier
- Parameters:
uri- considered as the 'id' of the attribute. It must be a validstring value for this attribute. This can also be considered as the 'id' of the attribute.invalid reference
URIdatatype- is the string representation, based on the w3.org XML Schema data type of the attribute. Constants fromAttribute.DataTypeshould be used to specify this value.issuer- the issuer for the attribute- Since:
- 8.0.0.4
- See Also:
-
-
Method Details
-
getName
Deprecated. -
setName
Deprecated. -
getDatatype
- Returns:
- The attribute's datatype
- See Also:
-
setDatatype
- Parameters:
datatype- The datatype for the attribute- See Also:
-
getIssuer
- Returns:
- The attribute's issuer
-
getURI
- Returns:
- The URI of the attribute
-
getSubjectCategory
The categories are in the form of XACML 2.0 subject identifier strings.An example of a returned value would be:
urn:oasis:names:tc:xacml:1.0:subject-category:access-subject- Returns:
- The subjectCategory of the attribute
- See Also:
-
setIssuer
- Parameters:
issuer- is the issuer value for this attribute
-
setURI
- Parameters:
uri- is the validstring value for this attributeinvalid reference
URI
-
setSubjectCategory
This is used to set the subject category of the attribute.The categories are in the form of XACML 2.0 subject identifier strings.
An example of a valid input value would be:
urn:oasis:names:tc:xacml:1.0:subject-category:access-subject- Since:
- 8.0.0.3
-
setSubjectCategory
This is used to set the subject category of the attribute.Constants from the
Attribute.Categoryshould be used to set this value- Since:
- 8.0.0.3
- See Also:
-
toString
-
hashCode
public int hashCode() -
equals
-