org.opensaml.xacml.ctx.impl
Class AttributeTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.ctx.impl.AttributeTypeImpl
All Implemented Interfaces:
AttributeType, XACMLObject, ValidatingXMLObject, XMLObject

public class AttributeTypeImpl
extends AbstractXACMLObject
implements AttributeType

Concrete implementation of AttributeType.


Field Summary
private  String attributeID
          AttributeID of the attribute.
private  XMLObjectChildrenList<AttributeValueType> attributeValues
          List of values for this attribute.
private  String datatype
          Datatype of the attribute.
private  String issuer
          Issuer of the attribute.
 
Fields inherited from interface org.opensaml.xacml.ctx.AttributeType
ATTRIBUTEID_ATTTRIB_NAME, DATATYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ISSUER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected AttributeTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getAttributeID()
          gets the AttributeId.
 List<AttributeValueType> getAttributeValues()
          Gets the list of attribute values for this attribute.
 String getDataType()
          Get the datatype of the attribute.
 String getIssuer()
          Gets the issuer of the attribute.
 List<XMLObject> getOrderedChildren()
          
 void setAttributeID(String attributeId)
          Sets the AttributeId.
 void setDataType(String datatype)
          Sets the datatype of the attribute.
 void setIssuer(String issuer)
          Sets the issuer of the attribute.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

issuer

private String issuer
Issuer of the attribute.


attributeID

private String attributeID
AttributeID of the attribute.


datatype

private String datatype
Datatype of the attribute.


attributeValues

private final XMLObjectChildrenList<AttributeValueType> attributeValues
List of values for this attribute.

Constructor Detail

AttributeTypeImpl

protected AttributeTypeImpl(String namespaceURI,
                            String elementLocalName,
                            String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getAttributeID

public String getAttributeID()
gets the AttributeId.

Specified by:
getAttributeID in interface AttributeType
Returns:
the AttributeId

getDataType

public String getDataType()
Get the datatype of the attribute.

Specified by:
getDataType in interface AttributeType
Returns:
the datatype

getIssuer

public String getIssuer()
Gets the issuer of the attribute.

Specified by:
getIssuer in interface AttributeType
Returns:
the value of Issuer

setAttributeID

public void setAttributeID(String attributeId)
Sets the AttributeId.

Specified by:
setAttributeID in interface AttributeType
Parameters:
attributeId - is the wanted AttributeId

setDataType

public void setDataType(String datatype)
Sets the datatype of the attribute.

Specified by:
setDataType in interface AttributeType
Parameters:
datatype - is the wanted datatype

setIssuer

public void setIssuer(String issuer)
Sets the issuer of the attribute.

Specified by:
setIssuer in interface AttributeType
Parameters:
issuer - is the issuer of the attribute

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

getAttributeValues

public List<AttributeValueType> getAttributeValues()
Gets the list of attribute values for this attribute.

Specified by:
getAttributeValues in interface AttributeType
Returns:
the list of values for this attribute


Copyright © 1999-2013. All Rights Reserved.