Class ContactType
java.lang.Object
org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
org.keycloak.dom.saml.v2.metadata.ContactType
Java class for ContactType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContactType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Extensions" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Company" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}GivenName" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SurName" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}EmailAddress" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}TelephoneNumber" maxOccurs="unbounded"
minOccurs="0"/>
</sequence>
<attribute name="contactType" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}ContactTypeType"
/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ContactTypeTypeprotected ExtensionsTypeprotected Stringprotected StringFields inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
otherAttributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmailAddress(String email) Add an email addressvoidaddTelephone(String tel) Add a telephoneGets the value of the company property.Gets the value of the contactType property.Gets the value of the emailAddress property.Gets the value of the extensions property.Gets the value of the givenName property.Gets the value of the surName property.Gets the value of the telephoneNumber property.voidremoveEmailAddress(String email) remove an email addressvoidremoveTelephone(String tel) remove a telephonevoidsetCompany(String value) Sets the value of the company property.voidsetContactType(ContactTypeType value) Sets the value of the contactType property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.voidsetGivenName(String value) Sets the value of the givenName property.voidsetSurName(String value) Sets the value of the surName property.Methods inherited from class org.keycloak.dom.saml.v2.metadata.TypeWithOtherAttributes
addOtherAttribute, getOtherAttributes, removeOtherAttribute
-
Field Details
-
extensions
-
company
-
givenName
-
surName
-
emailAddress
-
telephoneNumber
-
contactType
-
-
Constructor Details
-
ContactType
-
-
Method Details
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-
getCompany
Gets the value of the company property.- Returns:
- possible object is
String
-
setCompany
Sets the value of the company property.- Parameters:
value- allowed object isString
-
getGivenName
Gets the value of the givenName property.- Returns:
- possible object is
String
-
setGivenName
Sets the value of the givenName property.- Parameters:
value- allowed object isString
-
getSurName
Gets the value of the surName property.- Returns:
- possible object is
String
-
setSurName
Sets the value of the surName property.- Parameters:
value- allowed object isString
-
addEmailAddress
Add an email address- Parameters:
email-
-
removeTelephone
remove a telephone- Parameters:
tel-
-
removeEmailAddress
remove an email address- Parameters:
email-
-
addTelephone
Add a telephone- Parameters:
tel-
-
getEmailAddress
Gets the value of the emailAddress property.Objects of the following type(s) are allowed in the list
String -
getTelephoneNumber
Gets the value of the telephoneNumber property.Objects of the following type(s) are allowed in the list
String -
getContactType
Gets the value of the contactType property.- Returns:
- possible object is
ContactTypeType
-
setContactType
Sets the value of the contactType property.- Parameters:
value- allowed object isContactTypeType
-