Class ContactPersonImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.saml2.metadata.impl.ContactPersonImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,ContactPerson
public class ContactPersonImpl extends AbstractXMLObject implements ContactPerson
Concrete implementation ofContactPerson.
-
-
Field Summary
Fields Modifier and Type Field Description private CompanycompanyCompany child element.private XMLObjectChildrenList<EmailAddress>emailAddressesChild email address.private ExtensionsextensionsExtensions child object.private GivenNamegivenNameGivenName child objectobject.private SurNamesurNameSurName child object.private XMLObjectChildrenList<TelephoneNumber>telephoneNumbersChild telephone numbers.private ContactPersonTypeEnumerationtypeContact person type.private AttributeMapunknownAttributes"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
Constructors Modifier Constructor Description protectedContactPersonImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanygetCompany()List<EmailAddress>getEmailAddresses()ExtensionsgetExtensions()GivenNamegetGivenName()List<XMLObject>getOrderedChildren()SurNamegetSurName()List<TelephoneNumber>getTelephoneNumbers()ContactPersonTypeEnumerationgetType()AttributeMapgetUnknownAttributes()voidsetCompany(Company theCompany)voidsetExtensions(Extensions theExtensions)voidsetGivenName(GivenName name)voidsetSurName(SurName name)voidsetType(ContactPersonTypeEnumeration theType)-
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 Detail
-
type
private ContactPersonTypeEnumeration type
Contact person type.
-
extensions
private Extensions extensions
Extensions child object.
-
company
private Company company
Company child element.
-
givenName
private GivenName givenName
GivenName child objectobject.
-
surName
private SurName surName
SurName child object.
-
unknownAttributes
private final AttributeMap unknownAttributes
"anyAttribute" attributes.
-
emailAddresses
private final XMLObjectChildrenList<EmailAddress> emailAddresses
Child email address.
-
telephoneNumbers
private final XMLObjectChildrenList<TelephoneNumber> telephoneNumbers
Child telephone numbers.
-
-
Method Detail
-
getType
public ContactPersonTypeEnumeration getType()
- Specified by:
getTypein interfaceContactPerson
-
setType
public void setType(ContactPersonTypeEnumeration theType)
- Specified by:
setTypein interfaceContactPerson
-
getExtensions
public Extensions getExtensions()
- Specified by:
getExtensionsin interfaceContactPerson
-
setExtensions
public void setExtensions(Extensions theExtensions)
- Specified by:
setExtensionsin interfaceContactPerson
-
getCompany
public Company getCompany()
- Specified by:
getCompanyin interfaceContactPerson
-
setCompany
public void setCompany(Company theCompany)
- Specified by:
setCompanyin interfaceContactPerson
-
getGivenName
public GivenName getGivenName()
- Specified by:
getGivenNamein interfaceContactPerson
-
setGivenName
public void setGivenName(GivenName name)
- Specified by:
setGivenNamein interfaceContactPerson
-
getSurName
public SurName getSurName()
- Specified by:
getSurNamein interfaceContactPerson
-
setSurName
public void setSurName(SurName name)
- Specified by:
setSurNamein interfaceContactPerson
-
getEmailAddresses
public List<EmailAddress> getEmailAddresses()
- Specified by:
getEmailAddressesin interfaceContactPerson
-
getTelephoneNumbers
public List<TelephoneNumber> getTelephoneNumbers()
- Specified by:
getTelephoneNumbersin interfaceContactPerson
-
getUnknownAttributes
public AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-