Class AttributeTypeImpl

All Implemented Interfaces:
XMLObject, AttributeType, XACMLObject

public class AttributeTypeImpl extends AbstractXACMLObject implements AttributeType
Concrete implementation of AttributeType.
  • Field Details

    • 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 Details

    • 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 Details

    • 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 type)
      Sets the datatype of the attribute.
      Specified by:
      setDataType in interface AttributeType
      Parameters:
      type - is the wanted datatype
    • setIssuer

      public void setIssuer(String iss)
      Sets the issuer of the attribute.
      Specified by:
      setIssuer in interface AttributeType
      Parameters:
      iss - is the issuer of the attribute
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements
    • 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