org.opensaml.xacml.policy.impl
Class AttributeDesignatorTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.policy.impl.AttributeDesignatorTypeImpl
All Implemented Interfaces:
AttributeDesignatorType, ExpressionType, XACMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
SubjectAttributeDesignatorTypeImpl

public class AttributeDesignatorTypeImpl
extends org.opensaml.xml.validation.AbstractValidatingXMLObject
implements AttributeDesignatorType

Implementation of AttributeDesignatorType.


Field Summary
 
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
protected AttributeDesignatorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getAttributeId()
          Gets the ID of the designated attribute.
 String getDataType()
          Gets the data type of the designated attribute.
 String getIssuer()
          Gets the issuer of the designated attribute.
 Boolean getMustBePresent()
          Gets whether the designated attribute must be present.
 org.opensaml.xml.schema.XSBooleanValue getMustBePresentXSBoolean()
          Gets whether the designated attribute must be present.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 void setAttribtueId(String id)
          Sets the ID of the designated attribute.
 void setDataType(String type)
          Sets the data type of the designated attribute.
 void setIssuer(String newIssuer)
          Sets the issuer of the designated attribute.
 void setMustBePresent(Boolean present)
          Sets whether the designated attribute must be present.
 void setMustBePresentXSBoolean(org.opensaml.xml.schema.XSBooleanValue present)
          Sets whether the designated attribute must be present.
 
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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

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 Detail

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 org.opensaml.xml.schema.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

setAttribtueId

public void setAttribtueId(String id)
Sets the ID of the designated attribute.

Specified by:
setAttribtueId 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(org.opensaml.xml.schema.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<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2010 Internet2. All Rights Reserved.