public enum ExportableItemTemplateType extends java.lang.Enum<ExportableItemTemplateType>
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="ExportableItemTemplateType">
<xs:restriction base="xs:string">
<xs:enumeration value="chargedItem"/>
<xs:enumeration value="chargeableItem"/>
</xs:restriction>
</xs:simpleType>
| Enum Constant and Description |
|---|
CHARGEABLE_ITEM
Enumeration value for the chargeable item exportable item template type.
|
CHARGED_ITEM
Enumeration value for the charged item exportable item template type.
|
| Modifier and Type | Method and Description |
|---|---|
static ExportableItemTemplateType |
getByTagName(java.lang.String tagName)
Gets an exportable item template type by its XML tag.
|
java.lang.String |
getDisplayName()
Gets the display name of the exportable item template type.
|
java.lang.String |
getTagName()
Gets the XML tag name of the exportable item template type.
|
static ExportableItemTemplateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExportableItemTemplateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportableItemTemplateType CHARGED_ITEM
public static final ExportableItemTemplateType CHARGEABLE_ITEM
public static ExportableItemTemplateType[] values()
for (ExportableItemTemplateType c : ExportableItemTemplateType.values()) System.out.println(c);
public static ExportableItemTemplateType 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 java.lang.String getTagName()
public java.lang.String getDisplayName()
public static ExportableItemTemplateType getByTagName(java.lang.String tagName)
tagName - the XML tag name of the exportable item template typenull if the tag name is incorrect