org.opensaml.samlext.saml2delrestrict.impl
Class DelegateImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.samlext.saml2delrestrict.impl.DelegateImpl
All Implemented Interfaces:
SAMLObject, Delegate, ValidatingXMLObject, XMLObject

public class DelegateImpl
extends AbstractSAMLObject
implements Delegate

Implementation of Delegate.


Field Summary
private  BaseID baseID
          BaseID child element.
private  String confirmationMethod
          ConfirmationMethod attribute.
private  org.joda.time.DateTime delegationInstant
          DelegationInstant attribute.
private  EncryptedID encryptedID
          EncryptedID child element.
private  NameID nameID
          NameID child element.
 
Fields inherited from interface org.opensaml.samlext.saml2delrestrict.Delegate
CONFIRMATION_METHOD_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DELEGATION_INSTANT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected DelegateImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 BaseID getBaseID()
          Gets the BaseID child element of the delegate.
 String getConfirmationMethod()
          Get the confirmation method attribute value.
 org.joda.time.DateTime getDelegationInstant()
          Get the delegation instant attribute value.
 EncryptedID getEncryptedID()
          Gets the EncryptedID child element of the delegate.
 NameID getNameID()
          Gets the NameID child element of the delegate.
 List<XMLObject> getOrderedChildren()
          
 void setBaseID(BaseID newBaseID)
          Sets the BaseID child element of the delegate.
 void setConfirmationMethod(String newMethod)
          Set the confirmation method attribute value.
 void setDelegationInstant(org.joda.time.DateTime newInstant)
          Set the delegation instant attribute value.
 void setEncryptedID(EncryptedID newEncryptedID)
          Sets the EncryptedID child element of the delegate.
 void setNameID(NameID newNameID)
          Sets the NameID child element of the delegate.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
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, finalize, getClass, 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

baseID

private BaseID baseID
BaseID child element.


nameID

private NameID nameID
NameID child element.


encryptedID

private EncryptedID encryptedID
EncryptedID child element.


delegationInstant

private org.joda.time.DateTime delegationInstant
DelegationInstant attribute.


confirmationMethod

private String confirmationMethod
ConfirmationMethod attribute.

Constructor Detail

DelegateImpl

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

getBaseID

public BaseID getBaseID()
Gets the BaseID child element of the delegate.

Specified by:
getBaseID in interface Delegate
Returns:
the base identifier of the delegate

getConfirmationMethod

public String getConfirmationMethod()
Get the confirmation method attribute value.

Specified by:
getConfirmationMethod in interface Delegate
Returns:
the confirmation method

getDelegationInstant

public org.joda.time.DateTime getDelegationInstant()
Get the delegation instant attribute value.

Specified by:
getDelegationInstant in interface Delegate
Returns:
the delegation instant

getEncryptedID

public EncryptedID getEncryptedID()
Gets the EncryptedID child element of the delegate.

Specified by:
getEncryptedID in interface Delegate
Returns:
the encrypted name identifier of the delegate

getNameID

public NameID getNameID()
Gets the NameID child element of the delegate.

Specified by:
getNameID in interface Delegate
Returns:
the name identifier of the principal for this request

setBaseID

public void setBaseID(BaseID newBaseID)
Sets the BaseID child element of the delegate.

Specified by:
setBaseID in interface Delegate
Parameters:
newBaseID - the base identifier of the delegate

setConfirmationMethod

public void setConfirmationMethod(String newMethod)
Set the confirmation method attribute value.

Specified by:
setConfirmationMethod in interface Delegate
Parameters:
newMethod - the new confirmation method

setDelegationInstant

public void setDelegationInstant(org.joda.time.DateTime newInstant)
Set the delegation instant attribute value.

Specified by:
setDelegationInstant in interface Delegate
Parameters:
newInstant - the new delegation instant

setEncryptedID

public void setEncryptedID(EncryptedID newEncryptedID)
Sets the EncryptedID child element of the delegate.

Specified by:
setEncryptedID in interface Delegate
Parameters:
newEncryptedID - the new encrypted name identifier of the delegate

setNameID

public void setNameID(NameID newNameID)
Sets the NameID child element of the delegate.

Specified by:
setNameID in interface Delegate
Parameters:
newNameID - the name identifier of the delegate

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.