Class ContactPersonImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.metadata.impl.ContactPersonImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,ContactPerson
Concrete implementation of
ContactPerson.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CompanyCompany child element.private final XMLObjectChildrenList<EmailAddress>Child email address.private ExtensionsExtensions child object.private GivenNameGivenName child objectobject.private SurNameSurName child object.private final XMLObjectChildrenList<TelephoneNumber>Child telephone numbers.private ContactPersonTypeEnumerationContact person type.private final AttributeMap"anyAttribute" attributes.Fields inherited from interface org.opensaml.saml.saml2.metadata.ContactPerson
CONTACT_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContactPersonImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the company this contact person is associated with.Gets a list of email addresses for this person.Gets the Extensions child of this object.Gets the given name for this person.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the surname for this person.Gets an immutable list of telephone numbers for this person.getType()Gets the type of contact this person.Gets a mutable map of the attributes.voidsetCompany(Company theCompany) Sets the company this contact person is associated with.voidsetExtensions(Extensions theExtensions) Sets the Extensions child of this object.voidsetGivenName(GivenName name) Sets the given name for this person.voidsetSurName(SurName name) Sets the surname for this person.voidsetType(ContactPersonTypeEnumeration theType) Sets the type of contact this person.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
type
Contact person type. -
extensions
Extensions child object. -
company
Company child element. -
givenName
GivenName child objectobject. -
surName
SurName child object. -
unknownAttributes
"anyAttribute" attributes. -
emailAddresses
Child email address. -
telephoneNumbers
Child telephone numbers.
-
-
Constructor Details
-
Method Details
-
getType
Gets the type of contact this person.- Specified by:
getTypein interfaceContactPerson- Returns:
- the type of contact this person
-
setType
Sets the type of contact this person.- Specified by:
setTypein interfaceContactPerson- Parameters:
theType- the type of contact this person
-
getExtensions
Gets the Extensions child of this object.- Specified by:
getExtensionsin interfaceContactPerson- Returns:
- the Extensions child of this object
-
setExtensions
Sets the Extensions child of this object.- Specified by:
setExtensionsin interfaceContactPerson- Parameters:
theExtensions- the Extensions child of this object
-
getCompany
Gets the company this contact person is associated with.- Specified by:
getCompanyin interfaceContactPerson- Returns:
- the company this contact person is associated with
-
setCompany
Sets the company this contact person is associated with.- Specified by:
setCompanyin interfaceContactPerson- Parameters:
theCompany- the company this contact person is associated with
-
getGivenName
Gets the given name for this person.- Specified by:
getGivenNamein interfaceContactPerson- Returns:
- the given name for this person
-
setGivenName
Sets the given name for this person.- Specified by:
setGivenNamein interfaceContactPerson- Parameters:
name- the given name for this person
-
getSurName
Gets the surname for this person.- Specified by:
getSurNamein interfaceContactPerson- Returns:
- the surname for this person
-
setSurName
Sets the surname for this person.- Specified by:
setSurNamein interfaceContactPerson- Parameters:
name- the surname for this person
-
getEmailAddresses
Gets a list of email addresses for this person.- Specified by:
getEmailAddressesin interfaceContactPerson- Returns:
- list of email addresses for this person
-
getTelephoneNumbers
Gets an immutable list of telephone numbers for this person.- Specified by:
getTelephoneNumbersin interfaceContactPerson- Returns:
- list of telephone numbers for this person
-
getUnknownAttributes
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject- Returns:
- a map of the attributes
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-