Package com.iizix.urn.user
Enum Class UserProfileStringURNType
- All Implemented Interfaces:
- Serializable,- Comparable<UserProfileStringURNType>,- Constable
Possible query values for the 
{@link UserProfileStringURN}. Note that some query values can be indexed.- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAdditional email.Address line.Address line 2 (hard coded): multiple values is not supported.Address line 3 (hard coded): multiple values is not supported.City.Company division.Company name.Country.Developer Group ID.Developer ID.Email.First name.FixedPassword flag.Full name.Home fax number.Home mobile number.Home phone number.Job title.Last name.Localized first name.Localized full name.Localized last Name.Localized middle name.Localized title (Mr., Mrs., Ms., Dr., Prof., Baron, Baroness, etc).Middle name.Phone number.Phone number #2 (hard coded): multiple values is not supported.Pin code.Recovery answer.Recovery question.State or Province.Title (Mr., Mrs., Ms., Dr., Prof., Baron, Baroness, etc).Work fax number.Work phone number.Work phone number.Zip code.
- Field SummaryFieldsModifier and TypeFieldDescription- final StringThe DETAIL string for the User Details without any additional suffix for a potential numbered one-based value.- final booleanBoolean flag indicating the "details" string can be appended with "-nn", where "nn" is a number between 1 and 99, used when e.g.
- Method SummaryModifier and TypeMethodDescription- static UserProfileStringURNTypeGets the URN Profile User query from a string, case insensitive, without support for multiple values, the match with "enum" values in this class must match precisely.- static UserProfileStringURNTypeGets the URN Profile User String query from a string, case insensitive.- getDetail- (int nn) Gets the variation of a 2nd or up to 99th details for the database DETAIL query.- getValue- (int nn) Gets the variation of a 2nd or up to 99th value.- static UserProfileStringURNTypeReturns the enum constant of this class with the specified name.- static UserProfileStringURNType[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- TitleTitle (Mr., Mrs., Ms., Dr., Prof., Baron, Baroness, etc).
- FullNameFull name.
- LastNameLast name.
- MiddleNameMiddle name.
- FirstNameFirst name.
- LocalizedTitleLocalized title (Mr., Mrs., Ms., Dr., Prof., Baron, Baroness, etc).
- LocalizedFullNameLocalized full name.
- LocalizedLastNameLocalized last Name.
- LocalizedMiddleNameLocalized middle name.
- LocalizedFirstNameLocalized first name.
- PinCodePin code.
- FixedPasswordFixedPassword flag. If set, value is true or false.
- RecoveryQuestionRecovery question.
- RecoveryAnswerRecovery answer.
- CompanyNameCompany name.
- CompanyDivisionCompany division.
- JobTitleJob title.
- AddressAddress line.- This value supports multiple values, i.e. 1 to 99. 
- Address_2Address line 2 (hard coded): multiple values is not supported.
- Address_3Address line 3 (hard coded): multiple values is not supported.
- ZipCodeZip code.
- CityCity.
- StateProvinceState or Province.
- CountryCountry.
- EmailEmail.
- AdditionalEmailAdditional email.- This value supports multiple values, i.e. 1 to 99. 
- PhonePhone number.- This value supports multiple values, i.e. 1 to 99. 
- Phone_2Phone number #2 (hard coded): multiple values is not supported.
- HomePhoneHome phone number.- This value supports multiple values, i.e. 1 to 99. 
- HomeMobileHome mobile number.- This value supports multiple values, i.e. 1 to 99. 
- HomeFaxHome fax number.- This value supports multiple values, i.e. 1 to 99. 
- WorkPhoneWork phone number.- This value supports multiple values, i.e. 1 to 99. 
- WorkMobileWork phone number.- This value supports multiple values, i.e. 1 to 99. 
- WorkFaxWork fax number.- This value supports multiple values, i.e. 1 to 99. 
- DeveloperIDDeveloper ID.
- DeveloperGroupIDDeveloper Group ID.
 
- Field Details- detailThe DETAIL string for the User Details without any additional suffix for a potential numbered one-based value. Numbered values are only allowed when the member- {@link #multiple}is- true.- See Also:
 
- multiplepublic final boolean multipleBoolean flag indicating the "details" string can be appended with "-nn", where "nn" is a number between 1 and 99, used when e.g. multiple phone numbers are present. When the value "nn" is one, nothing is appended (i.e. "-1" is not appended to the detail string).- See Also:
 
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- getValueGets the variation of a 2nd or up to 99th value. The- nnvalue preceded by an underscore is appended to the- {@link #name()}of the enum value, e.g.- WorkMobile<strong>_2</strong>.- Parameters:
- nn- The- nnvalue requested. If zero or one is specified, the original name is returned (if "one", multiple values support will throw an- IllegalStateException).
- Throws:
- IllegalArgumentException- If the value is less than 0 or larger than 99.
- IllegalStateException- If the query string does not support multiple values.
 
- getDetailGets the variation of a 2nd or up to 99th details for the database DETAIL query.- Parameters:
- nn- The- nndetails value requested. If zero or one is specified, the original name is returned (if "one", multiple values support will throw an- IllegalStateException).
- Throws:
- IllegalArgumentException- If the details value is less than 0 or larger than 99.
- IllegalStateException- If the query string does not support multiple details values.
 
- fromQueryGets the URN Profile User query from a string, case insensitive, without support for multiple values, the match with "enum" values in this class must match precisely.- Parameters:
- query- The URN Profile User String query.
- Returns:
- The UserProfileStringURNQuery instance, or nullif not found.
 
- fromQueryGets the URN Profile User String query from a string, case insensitive. If the URN Profile User String query supports multiple values (appended as "" or "_1" for the first value, "_2" for the second, and so on), the- oneBasedIndexwill return the one-based index value. The value cannot exceed 99.- Parameters:
- query- The URN Profile User String query.
- oneBasedIndex- The one-based index of the query name is returned in this variable. If- non-null, this array should be at least one in length, where the returned value is placed in index zero. Upon return, this index value zero will be set to zero if the URN Profile User query does not support multiple values, otherwise it will be set to a value between 1 and 99.
- Returns:
- The UserProfileStringURNQuery instance, or nullif not found.
- Throws:
- NullPointerException- If the URN Profile User String query results in an indexed value and- oneBasedIndexis set to- null.