public enum TemplateType extends Enum<TemplateType>
| Enum Constant and Description |
|---|
DATAMAP_SINGLE_CLASS |
DATAMAP_SUBCLASS |
DATAMAP_SUPERCLASS |
EMBEDDABLE_SINGLE_CLASS |
EMBEDDABLE_SUBCLASS |
EMBEDDABLE_SUPERCLASS |
ENTITY_SINGLE_CLASS |
ENTITY_SUBCLASS |
ENTITY_SUPERCLASS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSuperclass() |
static TemplateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateType ENTITY_SINGLE_CLASS
public static final TemplateType ENTITY_SUPERCLASS
public static final TemplateType ENTITY_SUBCLASS
public static final TemplateType EMBEDDABLE_SINGLE_CLASS
public static final TemplateType EMBEDDABLE_SUPERCLASS
public static final TemplateType EMBEDDABLE_SUBCLASS
public static final TemplateType DATAMAP_SINGLE_CLASS
public static final TemplateType DATAMAP_SUPERCLASS
public static final TemplateType DATAMAP_SUBCLASS
public static TemplateType[] values()
for (TemplateType c : TemplateType.values()) System.out.println(c);
public static TemplateType 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 boolean isSuperclass()
Copyright © 2001–2017 Apache Cayenne. All rights reserved.