org.opensaml.xacml.policy.impl
Class IdReferenceTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.schema.impl.XSStringImpl
              extended by org.opensaml.xacml.policy.impl.IdReferenceTypeImpl
All Implemented Interfaces:
IdReferenceType, XACMLObject, XSString, ValidatingXMLObject, XMLObject

public class IdReferenceTypeImpl
extends XSStringImpl
implements IdReferenceType

Implementation of IdReferenceType.


Field Summary
private  String earliestVersion
          Value of the earliest version.
private  String latestVersion
          Value of the latest version.
private  String version
          Value of this version.
 
Fields inherited from interface org.opensaml.xacml.policy.IdReferenceType
EARLIEST_VERSION_ATTRIB_NAME, LATEST_VERSION_ATTRIB_NAME, POLICY_ID_REFERENCE_ELEMENT_LOCAL_NAME, POLICY_ID_REFERENCE_ELEMENT_NAME, POLICY_SET_ID_REFERENCE_ELEMENT_LOCAL_NAME, POLICY_SET_ID_REFERENCE_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME
 
Fields inherited from interface org.opensaml.xml.schema.XSString
TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected IdReferenceTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getEarliestVersion()
          Gets the earliest version of the reference.
 String getLatestVersion()
          Gets the latest version of the reference.
 String getVersion()
          Gets the version of the reference.
 void setEarliestVersion(String newEarliestVersion)
          Sets the earliest version of the reference.
 void setLatestVersion(String newLastestVersion)
          Sets the latest version of the reference.
 void setVersion(String newVersion)
          Sets the version of the reference.
 
Methods inherited from class org.opensaml.xml.schema.impl.XSStringImpl
getOrderedChildren, getValue, setValue
 
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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.schema.XSString
getValue, setValue
 
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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

earliestVersion

private String earliestVersion
Value of the earliest version.


latestVersion

private String latestVersion
Value of the latest version.


version

private String version
Value of this version.

Constructor Detail

IdReferenceTypeImpl

protected IdReferenceTypeImpl(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

getEarliestVersion

public String getEarliestVersion()
Gets the earliest version of the reference.

Specified by:
getEarliestVersion in interface IdReferenceType
Returns:
earliest version of the reference

getLatestVersion

public String getLatestVersion()
Gets the latest version of the reference.

Specified by:
getLatestVersion in interface IdReferenceType
Returns:
latest version of the reference

getVersion

public String getVersion()
Gets the version of the reference.

Specified by:
getVersion in interface IdReferenceType
Returns:
version of the reference

setEarliestVersion

public void setEarliestVersion(String newEarliestVersion)
Sets the earliest version of the reference.

Specified by:
setEarliestVersion in interface IdReferenceType
Parameters:
newEarliestVersion - earliest version of the reference

setLatestVersion

public void setLatestVersion(String newLastestVersion)
Sets the latest version of the reference.

Specified by:
setLatestVersion in interface IdReferenceType
Parameters:
newLastestVersion - latest version of the reference

setVersion

public void setVersion(String newVersion)
Sets the version of the reference.

Specified by:
setVersion in interface IdReferenceType
Parameters:
newVersion - version of the reference


Copyright © 1999-2012. All Rights Reserved.