Package org.opensaml.saml.saml2.metadata
Interface ContactPerson
-
- All Superinterfaces:
AttributeExtensibleXMLObject,SAMLObject,XMLObject
public interface ContactPerson extends SAMLObject, AttributeExtensibleXMLObject
SAML 2.0 Metadata ContactPerson.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTACT_TYPE_ATTRIB_NAME"contactType" attribute's local name.static StringDEFAULT_ELEMENT_LOCAL_NAMEElement name, no namespace.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompanygetCompany()Gets the company this contact person is associated with.List<EmailAddress>getEmailAddresses()Gets a list of email addresses for this person.ExtensionsgetExtensions()Gets the Extensions child of this object.GivenNamegetGivenName()Gets the given name for this person.SurNamegetSurName()Gets the surname for this person.List<TelephoneNumber>getTelephoneNumbers()Gets an immutable list of telephone numbers for this person.ContactPersonTypeEnumerationgetType()Gets the type of contact this person.voidsetCompany(Company company)Sets the company this contact person is associated with.voidsetExtensions(Extensions extensions)Sets the Extensions child of this object.voidsetGivenName(GivenName name)Sets the given name for this person.voidsetSurName(SurName name)Sets the surname for this person.voidsetType(ContactPersonTypeEnumeration type)Sets the type of contact this person.-
Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
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)
Sets the Extensions child of this object.- Parameters:
extensions- the Extensions child of this object
-
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
-
-