Class AttributeDesignatorTypeImpl

All Implemented Interfaces:
XMLObject, AttributeDesignatorType, ExpressionType, XACMLObject
Direct Known Subclasses:
SubjectAttributeDesignatorTypeImpl

public class AttributeDesignatorTypeImpl extends AbstractXACMLObject implements AttributeDesignatorType
Implementation of AttributeDesignatorType.
  • Field Details

    • attributeId

      private String attributeId
      Attribute Id.
    • dataType

      private String dataType
      Datatype.
    • issuer

      private String issuer
      Issuer.
    • mustBePresentXS

      private XSBooleanValue mustBePresentXS
      Must be present.
  • Constructor Details

    • AttributeDesignatorTypeImpl

      protected AttributeDesignatorTypeImpl(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 ID of the designated attribute.
      Specified by:
      getAttributeId in interface AttributeDesignatorType
      Returns:
      ID of the designated attribute
    • getDataType

      public String getDataType()
      Gets the data type of the designated attribute.
      Specified by:
      getDataType in interface AttributeDesignatorType
      Returns:
      data type of the designated attribute
    • getIssuer

      public String getIssuer()
      Gets the issuer of the designated attribute.
      Specified by:
      getIssuer in interface AttributeDesignatorType
      Returns:
      issuer of the designated attribute
    • getMustBePresentXSBoolean

      public XSBooleanValue getMustBePresentXSBoolean()
      Gets whether the designated attribute must be present.
      Specified by:
      getMustBePresentXSBoolean in interface AttributeDesignatorType
      Returns:
      whether the designated attribute must be present
    • getMustBePresent

      public Boolean getMustBePresent()
      Gets whether the designated attribute must be present.
      Specified by:
      getMustBePresent in interface AttributeDesignatorType
      Returns:
      whether the designated attribute must be present
    • setAttributeId

      public void setAttributeId(String id)
      Sets the ID of the designated attribute.
      Specified by:
      setAttributeId in interface AttributeDesignatorType
      Parameters:
      id - ID of the designated attribute
    • setDataType

      public void setDataType(String type)
      Sets the data type of the designated attribute.
      Specified by:
      setDataType in interface AttributeDesignatorType
      Parameters:
      type - data type of the designated attribute
    • setIssuer

      public void setIssuer(String newIssuer)
      Sets the issuer of the designated attribute.
      Specified by:
      setIssuer in interface AttributeDesignatorType
      Parameters:
      newIssuer - issuer of the designated attribute
    • setMustBePresentXSBoolean

      public void setMustBePresentXSBoolean(XSBooleanValue present)
      Sets whether the designated attribute must be present.
      Specified by:
      setMustBePresentXSBoolean in interface AttributeDesignatorType
      Parameters:
      present - whether the designated attribute must be present
    • setMustBePresent

      public void setMustBePresent(Boolean present)
      Sets whether the designated attribute must be present.
      Specified by:
      setMustBePresent in interface AttributeDesignatorType
      Parameters:
      present - whether the designated attribute must be present
    • 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