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