|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.common.impl.AbstractSAMLObject
org.opensaml.saml2.metadata.impl.ContactPersonImpl
public class ContactPersonImpl
Concrete implementation of ContactPerson
| Field Summary | |
|---|---|
private Company |
company
Company child element |
private XMLObjectChildrenList<EmailAddress> |
emailAddresses
Child email address |
private Extensions |
extensions
Extensions child object |
private GivenName |
givenName
GivenName child objectobject |
private SurName |
surName
SurName child object |
private XMLObjectChildrenList<TelephoneNumber> |
telephoneNumbers
Child telephone numbers |
private ContactPersonTypeEnumeration |
type
Contact person type |
private AttributeMap |
unknownAttributes
"anyAttribute" attributes |
| Fields inherited from interface org.opensaml.saml2.metadata.ContactPerson |
|---|
CONTACT_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
| Constructor Summary | |
|---|---|
protected |
ContactPersonImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor |
| Method Summary | |
|---|---|
Company |
getCompany()
Gets the company this contact person is associated with. |
List<EmailAddress> |
getEmailAddresses()
Gets a list of email addresses for this person. |
Extensions |
getExtensions()
Gets the Extensions child of this object. |
GivenName |
getGivenName()
Gets the given name for this person. |
List<XMLObject> |
getOrderedChildren()
|
SurName |
getSurName()
Gets the surname for this person. |
List<TelephoneNumber> |
getTelephoneNumbers()
Gets an immutable list of telephone numbers for this person. |
ContactPersonTypeEnumeration |
getType()
Gets the type of contact this person. |
AttributeMap |
getUnknownAttributes()
|
void |
setCompany(Company company)
Sets the company this contact person is associated with. |
void |
setExtensions(Extensions extensions)
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 type)
Sets the type of contact this person. |
| Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
|---|
equals, hashCode, prepareForAssignment |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
| Field Detail |
|---|
private ContactPersonTypeEnumeration type
private Extensions extensions
private Company company
private GivenName givenName
private SurName surName
private final AttributeMap unknownAttributes
private final XMLObjectChildrenList<EmailAddress> emailAddresses
private final XMLObjectChildrenList<TelephoneNumber> telephoneNumbers
| Constructor Detail |
|---|
protected ContactPersonImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
namespaceURI - elementLocalName - namespacePrefix - | Method Detail |
|---|
public ContactPersonTypeEnumeration getType()
getType in interface ContactPersonpublic void setType(ContactPersonTypeEnumeration type)
setType in interface ContactPersontype - the type of contact this personpublic Extensions getExtensions()
getExtensions in interface ContactPerson
public void setExtensions(Extensions extensions)
throws IllegalArgumentException
setExtensions in interface ContactPersonextensions - the Extensions child of this object
IllegalArgumentException - thrown if the given extensions Object is already a child of another SAMLObjectpublic Company getCompany()
getCompany in interface ContactPersonpublic void setCompany(Company company)
setCompany in interface ContactPersoncompany - the company this contact person is associated withpublic GivenName getGivenName()
getGivenName in interface ContactPersonpublic void setGivenName(GivenName name)
setGivenName in interface ContactPersonname - the given name for this personpublic SurName getSurName()
getSurName in interface ContactPersonpublic void setSurName(SurName name)
setSurName in interface ContactPersonname - the surname for this personpublic List<EmailAddress> getEmailAddresses()
getEmailAddresses in interface ContactPersonpublic List<TelephoneNumber> getTelephoneNumbers()
getTelephoneNumbers in interface ContactPersonpublic AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||