Class MetadataSettings.ContactPersonSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.ContactPersonSettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataSettings
Configuration for ContactPerson metadata element.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMetadataSettings.OrganizationSettings.Nested classes/interfaces inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
AbstractSettings.AbstractBuilder<T extends AbstractSettings,B extends AbstractSettings.AbstractBuilder<T, B>> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContactPersonSettings(Map<String, Object> settings) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newMetadataSettings.ContactPersonSettings.Builderwith no settings.Gets theCompanyelement.Gets theEmailAddresselements.Gets theGivenNameelement.Gets theSurNameelement.Gets theTelephoneNumberelements.withSettings(Map<String, Object> settings) Constructs a newMetadataSettings.ContactPersonSettings.Builderwith the provided settings.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
COMPANY
TheCompanyelement. AString.- See Also:
-
GIVEN_NAME
TheGivenNameelement. AString.- See Also:
-
SURNAME
TheSurNameelement. AString.- See Also:
-
EMAIL_ADDRESSES
- See Also:
-
TELEPHONE_NUMBERS
- See Also:
-
-
Constructor Details
-
ContactPersonSettings
Constructor.- Parameters:
settings- the settings
-
-
Method Details
-
getCompany
Gets theCompanyelement.- Returns:
- the
Company
-
getGivenName
Gets theGivenNameelement.- Returns:
- the
GivenName
-
getSurname
Gets theSurNameelement.- Returns:
- the
SurName
-
getEmailAddresses
Gets theEmailAddresselements.- Returns:
- a list of the
EmailAddress
-
getTelephoneNumbers
Gets theTelephoneNumberelements.- Returns:
- a list of the
TelephoneNumbers
-
builder
Constructs a newMetadataSettings.ContactPersonSettings.Builderwith no settings.- Returns:
- the
MetadataSettings.ContactPersonSettings.Builder
-
withSettings
public static MetadataSettings.ContactPersonSettings.Builder withSettings(Map<String, Object> settings) Constructs a newMetadataSettings.ContactPersonSettings.Builderwith the provided settings.- Parameters:
settings- the settings to initialize the builder- Returns:
- the builder
-