org.opensaml.saml2.metadata
Interface ContactPerson

All Superinterfaces:
AttributeExtensibleXMLObject, SAMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
ContactPersonImpl

public interface ContactPerson
extends SAMLObject, AttributeExtensibleXMLObject

SAML 2.0 Metadata ContactPerson


Field Summary
static String CONTACT_TYPE_ATTRIB_NAME
          "contactType" attribute's local name
static String DEFAULT_ELEMENT_LOCAL_NAME
          Element name, no namespace
static QName DEFAULT_ELEMENT_NAME
          Default element name
static String TYPE_LOCAL_NAME
          Local name of the XSI type
static QName TYPE_NAME
          QName of the XSI type
 
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.
 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.
 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 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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final String DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final QName DEFAULT_ELEMENT_NAME
Default element name


TYPE_LOCAL_NAME

static final String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final QName TYPE_NAME
QName of the XSI type


CONTACT_TYPE_ATTRIB_NAME

static final String CONTACT_TYPE_ATTRIB_NAME
"contactType" attribute's local name

See Also:
Constant Field Values
Method Detail

getType

ContactPersonTypeEnumeration getType()
Gets the type of contact this person.

Returns:
the type of contact this person

setType

void setType(ContactPersonTypeEnumeration type)
Sets the type of contact this person.

Parameters:
type - the type of contact this person

getExtensions

Extensions getExtensions()
Gets the Extensions child of this object.

Returns:
the Extensions child of this object

setExtensions

void setExtensions(Extensions extensions)
                   throws IllegalArgumentException
Sets the Extensions child of this object.

Parameters:
extensions - the Extensions child of this object
Throws:
IllegalArgumentException - thrown if the given extensions Object is already a child of another SAMLObject

getCompany

Company getCompany()
Gets the company this contact person is associated with.

Returns:
the company this contact person is associated with

setCompany

void setCompany(Company company)
Sets the company this contact person is associated with.

Parameters:
company - the company this contact person is associated with

getGivenName

GivenName getGivenName()
Gets the given name for this person.

Returns:
the given name for this person

setGivenName

void setGivenName(GivenName name)
Sets the given name for this person.

Parameters:
name - the given name for this person

getSurName

SurName getSurName()
Gets the surname for this person.

Returns:
the surname for this person

setSurName

void setSurName(SurName name)
Sets the surname for this person.

Parameters:
name - the surname for this person

getEmailAddresses

List<EmailAddress> getEmailAddresses()
Gets a list of email addresses for this person.

Returns:
list of email addresses for this person

getTelephoneNumbers

List<TelephoneNumber> getTelephoneNumbers()
Gets an immutable list of telephone numbers for this person.

Returns:
list of telephone numbers for this person


Copyright © 1999-2012. All Rights Reserved.