Package org.opensaml.xacml.policy.impl
Class AttributeDesignatorTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.AttributeDesignatorTypeImpl
- All Implemented Interfaces:
XMLObject
,AttributeDesignatorType
,ExpressionType
,XACMLObject
- Direct Known Subclasses:
SubjectAttributeDesignatorTypeImpl
public class AttributeDesignatorTypeImpl
extends AbstractXACMLObject
implements AttributeDesignatorType
Implementation of
AttributeDesignatorType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Attribute Id.private String
Datatype.private String
Issuer.private XSBooleanValue
Must be present.Fields inherited from interface org.opensaml.xacml.policy.AttributeDesignatorType
ACTION_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, ACTION_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, ATTRIBUTE_ID_ATTRIB_NAME, DATA_TYPE_ATTRIB_NAME, ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, ISSUER_ATTRIB_NAME, MUST_BE_PRESENT_ATTRIB_NAME, RESOURCE_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, RESOURCE_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, SUBJECT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, SUBJECT_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME
Fields inherited from interface org.opensaml.xacml.policy.ExpressionType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME_XACML20
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeDesignatorTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the ID of the designated attribute.Gets the data type of the designated attribute.Gets the issuer of the designated attribute.Gets whether the designated attribute must be present.Gets whether the designated attribute must be present.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.void
setAttributeId
(String id) Sets the ID of the designated attribute.void
setDataType
(String type) Sets the data type of the designated attribute.void
Sets the issuer of the designated attribute.void
setMustBePresent
(Boolean present) Sets whether the designated attribute must be present.void
setMustBePresentXSBoolean
(XSBooleanValue present) Sets whether the designated attribute must be present.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
attributeId
Attribute Id. -
dataType
Datatype. -
issuer
Issuer. -
mustBePresentXS
Must be present.
-
-
Constructor Details
-
AttributeDesignatorTypeImpl
protected AttributeDesignatorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getAttributeId
Gets the ID of the designated attribute.- Specified by:
getAttributeId
in interfaceAttributeDesignatorType
- Returns:
- ID of the designated attribute
-
getDataType
Gets the data type of the designated attribute.- Specified by:
getDataType
in interfaceAttributeDesignatorType
- Returns:
- data type of the designated attribute
-
getIssuer
Gets the issuer of the designated attribute.- Specified by:
getIssuer
in interfaceAttributeDesignatorType
- Returns:
- issuer of the designated attribute
-
getMustBePresentXSBoolean
Gets whether the designated attribute must be present.- Specified by:
getMustBePresentXSBoolean
in interfaceAttributeDesignatorType
- Returns:
- whether the designated attribute must be present
-
getMustBePresent
Gets whether the designated attribute must be present.- Specified by:
getMustBePresent
in interfaceAttributeDesignatorType
- Returns:
- whether the designated attribute must be present
-
setAttributeId
Sets the ID of the designated attribute.- Specified by:
setAttributeId
in interfaceAttributeDesignatorType
- Parameters:
id
- ID of the designated attribute
-
setDataType
Sets the data type of the designated attribute.- Specified by:
setDataType
in interfaceAttributeDesignatorType
- Parameters:
type
- data type of the designated attribute
-
setIssuer
Sets the issuer of the designated attribute.- Specified by:
setIssuer
in interfaceAttributeDesignatorType
- Parameters:
newIssuer
- issuer of the designated attribute
-
setMustBePresentXSBoolean
Sets whether the designated attribute must be present.- Specified by:
setMustBePresentXSBoolean
in interfaceAttributeDesignatorType
- Parameters:
present
- whether the designated attribute must be present
-
setMustBePresent
Sets whether the designated attribute must be present.- Specified by:
setMustBePresent
in interfaceAttributeDesignatorType
- Parameters:
present
- whether the designated attribute must be present
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-