Class ContactPersonImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.metadata.impl.ContactPersonImpl
All Implemented Interfaces:
AttributeExtensibleXMLObject, XMLObject, SAMLObject, ContactPerson

public class ContactPersonImpl extends AbstractXMLObject implements ContactPerson
Concrete implementation of ContactPerson.
  • Field Details

  • Constructor Details

    • ContactPersonImpl

      protected ContactPersonImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - name space
      elementLocalName - local name
      namespacePrefix - prefix
  • Method Details

    • getType

      public ContactPersonTypeEnumeration getType()
      Gets the type of contact this person.
      Specified by:
      getType in interface ContactPerson
      Returns:
      the type of contact this person
    • setType

      public void setType(ContactPersonTypeEnumeration theType)
      Sets the type of contact this person.
      Specified by:
      setType in interface ContactPerson
      Parameters:
      theType - the type of contact this person
    • getExtensions

      public Extensions getExtensions()
      Gets the Extensions child of this object.
      Specified by:
      getExtensions in interface ContactPerson
      Returns:
      the Extensions child of this object
    • setExtensions

      public void setExtensions(Extensions theExtensions)
      Sets the Extensions child of this object.
      Specified by:
      setExtensions in interface ContactPerson
      Parameters:
      theExtensions - the Extensions child of this object
    • getCompany

      public Company getCompany()
      Gets the company this contact person is associated with.
      Specified by:
      getCompany in interface ContactPerson
      Returns:
      the company this contact person is associated with
    • setCompany

      public void setCompany(Company theCompany)
      Sets the company this contact person is associated with.
      Specified by:
      setCompany in interface ContactPerson
      Parameters:
      theCompany - the company this contact person is associated with
    • getGivenName

      public GivenName getGivenName()
      Gets the given name for this person.
      Specified by:
      getGivenName in interface ContactPerson
      Returns:
      the given name for this person
    • setGivenName

      public void setGivenName(GivenName name)
      Sets the given name for this person.
      Specified by:
      setGivenName in interface ContactPerson
      Parameters:
      name - the given name for this person
    • getSurName

      public SurName getSurName()
      Gets the surname for this person.
      Specified by:
      getSurName in interface ContactPerson
      Returns:
      the surname for this person
    • setSurName

      public void setSurName(SurName name)
      Sets the surname for this person.
      Specified by:
      setSurName in interface ContactPerson
      Parameters:
      name - the surname for this person
    • getEmailAddresses

      public List<EmailAddress> getEmailAddresses()
      Gets a list of email addresses for this person.
      Specified by:
      getEmailAddresses in interface ContactPerson
      Returns:
      list of email addresses for this person
    • getTelephoneNumbers

      public List<TelephoneNumber> getTelephoneNumbers()
      Gets an immutable list of telephone numbers for this person.
      Specified by:
      getTelephoneNumbers in interface ContactPerson
      Returns:
      list of telephone numbers for this person
    • getUnknownAttributes

      public AttributeMap getUnknownAttributes()
      Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.
      Specified by:
      getUnknownAttributes in interface AttributeExtensibleXMLObject
      Returns:
      a map of the attributes
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements