public static enum MappingTableClassInColumnModel.InMappingTableClassType extends java.lang.Enum<MappingTableClassInColumnModel.InMappingTableClassType>
enumeration lists the possible attribute values in a in a column of a mapping table class.
The types are:
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="inMappingTableClassType"> <xs:restriction base="xs:string"> <xs:enumeration value="string"/> <xs:enumeration value="currency"/> </xs:restriction> </xs:simpleType>
| Enum Constant and Description |
|---|
CURRENCY
Types an in column attribute as a currency
|
STRING
Types an in column attribute as a string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets the unique identifier representing this in column attribute
|
java.lang.String |
getPrettyName()
Gets the string name representing this in column attribute
|
static MappingTableClassInColumnModel.InMappingTableClassType |
getValueTypeFromId(int id)
Gets the string representing a column in attribute type from its associated ID
|
static MappingTableClassInColumnModel.InMappingTableClassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MappingTableClassInColumnModel.InMappingTableClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingTableClassInColumnModel.InMappingTableClassType STRING
public static final MappingTableClassInColumnModel.InMappingTableClassType CURRENCY
public static MappingTableClassInColumnModel.InMappingTableClassType[] values()
for (MappingTableClassInColumnModel.InMappingTableClassType c : MappingTableClassInColumnModel.InMappingTableClassType.values()) System.out.println(c);
public static MappingTableClassInColumnModel.InMappingTableClassType 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 MappingTableClassInColumnModel.InMappingTableClassType getValueTypeFromId(int id)
id - The unique ID of this in column attribute type