public enum Attachment extends Enum<Attachment> implements StringIdentifiable
Enum Constant and Description |
---|
CEILING |
DOUBLE_WALL |
FLOOR |
SINGLE_WALL |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static Attachment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
createCodec, createCodec, method_28142
public static final Attachment FLOOR
public static final Attachment CEILING
public static final Attachment SINGLE_WALL
public static final Attachment DOUBLE_WALL
private final String name
public static Attachment[] values()
for (Attachment c : Attachment.values()) System.out.println(c);
public static Attachment 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 asString()
asString
in interface StringIdentifiable