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 Duration
cacheDuration
cacheDurection attribute.private Extensions
extensions
Extensions child.private String
id
ID attribute.private XMLObjectChildrenList<KeyDescriptor>
keyDescriptors
Key descriptors for this role.private XMLObjectChildrenList<AffiliateMember>
members
Members of this affiliation.private String
ownerID
ID of the owner of this affiliation.private AttributeMap
unknownAttributes
"anyAttribute" attributes.private Instant
validUntil
validUntil 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 protected
AffiliationDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
getCacheDuration()
Extensions
getExtensions()
String
getID()
List<KeyDescriptor>
getKeyDescriptors()
List<AffiliateMember>
getMembers()
List<XMLObject>
getOrderedChildren()
String
getOwnerID()
String
getSignatureReferenceID()
AttributeMap
getUnknownAttributes()
Instant
getValidUntil()
boolean
isValid()
void
setCacheDuration(Duration duration)
void
setExtensions(Extensions theExtensions)
void
setID(String newID)
void
setOwnerID(String newOwnerID)
void
setValidUntil(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:
getOwnerID
in interfaceAffiliationDescriptor
-
setOwnerID
public void setOwnerID(String newOwnerID)
- Specified by:
setOwnerID
in interfaceAffiliationDescriptor
-
getID
public String getID()
- Specified by:
getID
in interfaceAffiliationDescriptor
-
setID
public void setID(String newID)
- Specified by:
setID
in interfaceAffiliationDescriptor
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceTimeBoundSAMLObject
-
getValidUntil
public Instant getValidUntil()
- Specified by:
getValidUntil
in interfaceTimeBoundSAMLObject
-
setValidUntil
public void setValidUntil(Instant theValidUntil)
- Specified by:
setValidUntil
in interfaceTimeBoundSAMLObject
-
getCacheDuration
public Duration getCacheDuration()
- Specified by:
getCacheDuration
in interfaceCacheableSAMLObject
-
setCacheDuration
public void setCacheDuration(Duration duration)
- Specified by:
setCacheDuration
in interfaceCacheableSAMLObject
-
getExtensions
public Extensions getExtensions()
- Specified by:
getExtensions
in interfaceAffiliationDescriptor
-
setExtensions
public void setExtensions(Extensions theExtensions)
- Specified by:
setExtensions
in interfaceAffiliationDescriptor
-
getMembers
public List<AffiliateMember> getMembers()
- Specified by:
getMembers
in interfaceAffiliationDescriptor
-
getKeyDescriptors
public List<KeyDescriptor> getKeyDescriptors()
- Specified by:
getKeyDescriptors
in interfaceAffiliationDescriptor
-
getUnknownAttributes
public AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributes
in interfaceAttributeExtensibleXMLObject
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
-
-