public class UtilityManagerImpl extends AbstractManager<RegistryBean> implements UtilityManager
UtilityManager
interface.Constructor and Description |
---|
UtilityManagerImpl() |
Modifier and Type | Method and Description |
---|---|
EmailAddress |
createEmailAddress(java.lang.String address)
Create a
EmailAddress instance using the specified parameters. |
EmailAddress |
createEmailAddress(java.lang.String address,
java.lang.String type)
Create a
EmailAddress instance using the specified parameters. |
PersonName |
createPersonName(java.lang.String fullName)
Create a
PersonName instance using the specified full name. |
PersonName |
createPersonName(java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName)
Create a
PersonName instance using the specified arguments. |
PostalAddress |
createPostalAddress(java.lang.String streetNumber,
java.lang.String street,
java.lang.String city,
java.lang.String stateOrProvince,
java.lang.String country,
java.lang.String postalCode,
java.lang.String type)
Create a
PostalAddress instance using the specified parameters. |
TelephoneNumber |
createTelephoneNumber()
Create a
TelephoneNumber instance using the specified parameters. |
create, delete, delete, insert, read, update, update
public EmailAddress createEmailAddress(java.lang.String address)
EmailAddress
instance using the specified parameters.createEmailAddress
in interface UtilityManager
address
- The email addressEmailAddress
instancepublic EmailAddress createEmailAddress(java.lang.String address, java.lang.String type)
EmailAddress
instance using the specified parameters.createEmailAddress
in interface UtilityManager
address
- The email addresstype
- The type of the addressEmailAddress
instancepublic PersonName createPersonName(java.lang.String fullName)
PersonName
instance using the specified full name.createPersonName
in interface UtilityManager
fullName
- The full name of the personPersonName
instance created with the provided detailspublic PersonName createPersonName(java.lang.String firstName, java.lang.String middleName, java.lang.String lastName)
PersonName
instance using the specified arguments.createPersonName
in interface UtilityManager
firstName
- The person's first namemiddleName
- The middle name of the personlastName
- The person's last namePersonName
instance created with the provided detailspublic PostalAddress createPostalAddress(java.lang.String streetNumber, java.lang.String street, java.lang.String city, java.lang.String stateOrProvince, java.lang.String country, java.lang.String postalCode, java.lang.String type)
PostalAddress
instance using the specified parameters.createPostalAddress
in interface UtilityManager
streetNumber
- The street numberstreet
- The name of the streetcity
- The city namestateOrProvince
- The state to which the city belongscountry
- The residing countrypostalCode
- The postal code for the citytype
- The type of address - Home, Office, etc.,PostalAddress
instance created from the given detailspublic TelephoneNumber createTelephoneNumber()
TelephoneNumber
instance using the specified parameters.createTelephoneNumber
in interface UtilityManager
TelephoneNumber
instance.