Class AffiliationDescriptorImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.AbstractSignableXMLObject
-
- org.opensaml.saml.common.AbstractSignableSAMLObject
-
- org.opensaml.saml.saml2.metadata.impl.AffiliationDescriptorImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,AffiliationDescriptor,SignableXMLObject
public class AffiliationDescriptorImpl extends AbstractSignableSAMLObject implements AffiliationDescriptor
Concrete implementation ofAffiliationDescriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private DurationcacheDurationcacheDurection attribute.private ExtensionsextensionsExtensions child.private StringidID attribute.private XMLObjectChildrenList<KeyDescriptor>keyDescriptorsKey descriptors for this role.private XMLObjectChildrenList<AffiliateMember>membersMembers of this affiliation.private StringownerIDID of the owner of this affiliation.private AttributeMapunknownAttributes"anyAttribute" attributes.private InstantvalidUntilvalidUntil attribute.-
Fields inherited from interface org.opensaml.saml.saml2.metadata.AffiliationDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, OWNER_ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Fields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
-
Fields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAffiliationDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetCacheDuration()ExtensionsgetExtensions()StringgetID()List<KeyDescriptor>getKeyDescriptors()List<AffiliateMember>getMembers()List<XMLObject>getOrderedChildren()StringgetOwnerID()StringgetSignatureReferenceID()AttributeMapgetUnknownAttributes()InstantgetValidUntil()booleanisValid()voidsetCacheDuration(Duration duration)voidsetExtensions(Extensions theExtensions)voidsetID(String newID)voidsetOwnerID(String newOwnerID)voidsetValidUntil(Instant theValidUntil)-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
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 Detail
-
ownerID
private String ownerID
ID of the owner of this affiliation.
-
id
private String id
ID attribute.
-
validUntil
private Instant validUntil
validUntil attribute.
-
cacheDuration
private Duration cacheDuration
cacheDurection attribute.
-
extensions
private Extensions extensions
Extensions child.
-
unknownAttributes
private final AttributeMap unknownAttributes
"anyAttribute" attributes.
-
members
private final XMLObjectChildrenList<AffiliateMember> members
Members of this affiliation.
-
keyDescriptors
private final XMLObjectChildrenList<KeyDescriptor> keyDescriptors
Key descriptors for this role.
-
-
Method Detail
-
getOwnerID
public String getOwnerID()
- Specified by:
getOwnerIDin interfaceAffiliationDescriptor
-
setOwnerID
public void setOwnerID(String newOwnerID)
- Specified by:
setOwnerIDin interfaceAffiliationDescriptor
-
getID
public String getID()
- Specified by:
getIDin interfaceAffiliationDescriptor
-
setID
public void setID(String newID)
- Specified by:
setIDin interfaceAffiliationDescriptor
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceTimeBoundSAMLObject
-
getValidUntil
public Instant getValidUntil()
- Specified by:
getValidUntilin interfaceTimeBoundSAMLObject
-
setValidUntil
public void setValidUntil(Instant theValidUntil)
- Specified by:
setValidUntilin interfaceTimeBoundSAMLObject
-
getCacheDuration
public Duration getCacheDuration()
- Specified by:
getCacheDurationin interfaceCacheableSAMLObject
-
setCacheDuration
public void setCacheDuration(Duration duration)
- Specified by:
setCacheDurationin interfaceCacheableSAMLObject
-
getExtensions
public Extensions getExtensions()
- Specified by:
getExtensionsin interfaceAffiliationDescriptor
-
setExtensions
public void setExtensions(Extensions theExtensions)
- Specified by:
setExtensionsin interfaceAffiliationDescriptor
-
getMembers
public List<AffiliateMember> getMembers()
- Specified by:
getMembersin interfaceAffiliationDescriptor
-
getKeyDescriptors
public List<KeyDescriptor> getKeyDescriptors()
- Specified by:
getKeyDescriptorsin interfaceAffiliationDescriptor
-
getUnknownAttributes
public AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-