org.opensaml.saml2.metadata.impl
public class ContactPersonImpl extends AbstractSAMLObject implements ContactPerson
ContactPerson
Modifier and Type | Field and Description |
---|---|
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
|
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() |
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.
|
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
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
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 © 1999-2013 JBoss by Red Hat. All Rights Reserved.