Enum DbContactsEntry.DefaultLetterAddress
- java.lang.Object
-
- java.lang.Enum<DbContactsEntry.DefaultLetterAddress>
-
- com.openindex.openestate.tool.contacts.db.DbContactsEntry.DefaultLetterAddress
-
- All Implemented Interfaces:
Serializable,Comparable<DbContactsEntry.DefaultLetterAddress>
- Enclosing class:
- DbContactsEntry
public static enum DbContactsEntry.DefaultLetterAddress extends Enum<DbContactsEntry.DefaultLetterAddress>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORMALFORMAL_FAMILYGENERALINFORMALINFORMAL_FAMILY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbContactsEntry.DefaultLetterAddresslookup(String value, String lastName, String title, Gender gender)static StringlookupAndWrite(String value, String lastName, String title, Gender gender)static DbContactsEntry.DefaultLetterAddressvalueOf(String name)Returns the enum constant of this type with the specified name.static DbContactsEntry.DefaultLetterAddress[]values()Returns an array containing the constants of this enum type, in the order they are declared.Stringwrite(String lastName, String title, Gender gender)
-
-
-
Enum Constant Detail
-
GENERAL
public static final DbContactsEntry.DefaultLetterAddress GENERAL
-
FORMAL
public static final DbContactsEntry.DefaultLetterAddress FORMAL
-
FORMAL_FAMILY
public static final DbContactsEntry.DefaultLetterAddress FORMAL_FAMILY
-
INFORMAL
public static final DbContactsEntry.DefaultLetterAddress INFORMAL
-
INFORMAL_FAMILY
public static final DbContactsEntry.DefaultLetterAddress INFORMAL_FAMILY
-
-
Method Detail
-
values
public static DbContactsEntry.DefaultLetterAddress[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DbContactsEntry.DefaultLetterAddress c : DbContactsEntry.DefaultLetterAddress.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbContactsEntry.DefaultLetterAddress valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
lookup
public static DbContactsEntry.DefaultLetterAddress lookup(String value, String lastName, String title, Gender gender)
-
lookupAndWrite
public static String lookupAndWrite(String value, String lastName, String title, Gender gender)
-
-