public static enum MappingTableColumnModel.MappingTableType extends java.lang.Enum<MappingTableColumnModel.MappingTableType>
enumeration lists all the possible type values of a column in a mapping table class (in and out columns).MappingTableColumnModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="MappingTableType"> <xs:restriction base="xs:string"> <xs:enumeration value="string"/> <xs:enumeration value="currency"/> <xs:enumeration value="number"/> </xs:restriction> </xs:simpleType>
| Enum Constant and Description |
|---|
CURRENCY
Types a column as a currency
|
NUMBER
Types a column as a number
|
STRING
Types a column as a string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets the unique identifier representing this column type.
|
java.lang.String |
getPrettyName()
Gets the string name representing this column type.
|
static MappingTableColumnModel.MappingTableType |
getValueTypeFromId(int id)
Gets the string representing a column type from its associated ID.
|
static MappingTableColumnModel.MappingTableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MappingTableColumnModel.MappingTableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingTableColumnModel.MappingTableType STRING
public static final MappingTableColumnModel.MappingTableType CURRENCY
public static final MappingTableColumnModel.MappingTableType NUMBER
public static MappingTableColumnModel.MappingTableType[] values()
for (MappingTableColumnModel.MappingTableType c : MappingTableColumnModel.MappingTableType.values()) System.out.println(c);
public static MappingTableColumnModel.MappingTableType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getId()
public java.lang.String getPrettyName()
public static final MappingTableColumnModel.MappingTableType getValueTypeFromId(int id)
id - The unique ID of this column type