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 Company
Company child element.private final XMLObjectChildrenList<EmailAddress>
Child email address.private Extensions
Extensions child object.private GivenName
GivenName child objectobject.private SurName
SurName child object.private final XMLObjectChildrenList<TelephoneNumber>
Child telephone numbers.private ContactPersonTypeEnumeration
Contact 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
ConstructorsModifierConstructorDescriptionprotected
ContactPersonImpl
(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.void
setCompany
(Company theCompany) Sets the company this contact person is associated with.void
setExtensions
(Extensions theExtensions) Sets the Extensions child of this object.void
setGivenName
(GivenName name) Sets the given name for this person.void
setSurName
(SurName name) Sets the surname for this person.void
setType
(ContactPersonTypeEnumeration theType) Sets the type of contact this person.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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 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
-
ContactPersonImpl
Constructor.- Parameters:
namespaceURI
- name spaceelementLocalName
- local namenamespacePrefix
- prefix
-
-
Method Details
-
getType
Gets the type of contact this person.- Specified by:
getType
in interfaceContactPerson
- Returns:
- the type of contact this person
-
setType
Sets the type of contact this person.- Specified by:
setType
in interfaceContactPerson
- Parameters:
theType
- the type of contact this person
-
getExtensions
Gets the Extensions child of this object.- Specified by:
getExtensions
in interfaceContactPerson
- Returns:
- the Extensions child of this object
-
setExtensions
Sets the Extensions child of this object.- Specified by:
setExtensions
in interfaceContactPerson
- Parameters:
theExtensions
- the Extensions child of this object
-
getCompany
Gets the company this contact person is associated with.- Specified by:
getCompany
in interfaceContactPerson
- Returns:
- the company this contact person is associated with
-
setCompany
Sets the company this contact person is associated with.- Specified by:
setCompany
in interfaceContactPerson
- Parameters:
theCompany
- the company this contact person is associated with
-
getGivenName
Gets the given name for this person.- Specified by:
getGivenName
in interfaceContactPerson
- Returns:
- the given name for this person
-
setGivenName
Sets the given name for this person.- Specified by:
setGivenName
in interfaceContactPerson
- Parameters:
name
- the given name for this person
-
getSurName
Gets the surname for this person.- Specified by:
getSurName
in interfaceContactPerson
- Returns:
- the surname for this person
-
setSurName
Sets the surname for this person.- Specified by:
setSurName
in interfaceContactPerson
- Parameters:
name
- the surname for this person
-
getEmailAddresses
Gets a list of email addresses for this person.- Specified by:
getEmailAddresses
in interfaceContactPerson
- Returns:
- list of email addresses for this person
-
getTelephoneNumbers
Gets an immutable list of telephone numbers for this person.- Specified by:
getTelephoneNumbers
in 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:
getUnknownAttributes
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-