public enum EmailTemplateStyle extends Enum<EmailTemplateStyle>
Java class for EmailTemplateStyle.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EmailTemplateStyle">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="freeForm"/>
<enumeration value="formalLetter"/>
<enumeration value="promotionRight"/>
<enumeration value="promotionLeft"/>
<enumeration value="newsletter"/>
<enumeration value="products"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FORMAL_LETTER |
FREE_FORM |
NEWSLETTER |
NONE |
PRODUCTS |
PROMOTION_LEFT |
PROMOTION_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static EmailTemplateStyle |
fromValue(String v) |
String |
value() |
static EmailTemplateStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmailTemplateStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailTemplateStyle NONE
public static final EmailTemplateStyle FREE_FORM
public static final EmailTemplateStyle FORMAL_LETTER
public static final EmailTemplateStyle PROMOTION_RIGHT
public static final EmailTemplateStyle PROMOTION_LEFT
public static final EmailTemplateStyle NEWSLETTER
public static final EmailTemplateStyle PRODUCTS
public static EmailTemplateStyle[] values()
for (EmailTemplateStyle c : EmailTemplateStyle.values()) System.out.println(c);
public static EmailTemplateStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static EmailTemplateStyle fromValue(String v)
Copyright © 2016. All rights reserved.