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)
      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
      the AttributeId
    • getDataType

      public String getDataType()
      Get the datatype of the attribute.
      Specified by:
      getDataType in interface AttributeType
      the datatype
    • getIssuer

      public String getIssuer()
      Gets the issuer of the attribute.
      Specified by:
      getIssuer in interface AttributeType
      the value of Issuer
    • setAttributeID

      public void setAttributeID(String attributeId)
      Sets the AttributeId.
      Specified by:
      setAttributeID in interface AttributeType
      attributeId - is the wanted AttributeId
    • setDataType

      public void setDataType(String type)
      Sets the datatype of the attribute.
      Specified by:
      setDataType in interface AttributeType
      type - is the wanted datatype
    • setIssuer

      public void setIssuer(String iss)
      Sets the issuer of the attribute.
      Specified by:
      setIssuer in interface AttributeType
      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
      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
      the list of values for this attribute