public class ContactPersonImpl extends AbstractSAMLObject implements ContactPerson
ContactPerson
CONTACT_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
ContactPersonImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
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()
Gets a mutable map of the attributes.
|
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.
|
equals, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
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
public ContactPersonTypeEnumeration getType()
getType
in interface ContactPerson
public void setType(ContactPersonTypeEnumeration type)
setType
in interface ContactPerson
type
- the type of contact this personpublic Extensions getExtensions()
getExtensions
in interface ContactPerson
public void setExtensions(Extensions extensions) throws IllegalArgumentException
setExtensions
in interface ContactPerson
extensions
- the Extensions child of this objectIllegalArgumentException
- thrown if the given extensions Object is already a child of another SAMLObjectpublic Company getCompany()
getCompany
in interface ContactPerson
public void setCompany(Company company)
setCompany
in interface ContactPerson
company
- the company this contact person is associated withpublic GivenName getGivenName()
getGivenName
in interface ContactPerson
public void setGivenName(GivenName name)
setGivenName
in interface ContactPerson
name
- the given name for this personpublic SurName getSurName()
getSurName
in interface ContactPerson
public void setSurName(SurName name)
setSurName
in interface ContactPerson
name
- the surname for this personpublic List<EmailAddress> getEmailAddresses()
getEmailAddresses
in interface ContactPerson
public List<TelephoneNumber> getTelephoneNumbers()
getTelephoneNumbers
in interface ContactPerson
public AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.