public static enum BinaryMedium.Type extends Enum<BinaryMedium.Type>
Modifier and Type | Method and Description |
---|---|
static BinaryMedium.Type |
fromElement(IDProvider element) |
static BinaryMedium.Type |
fromPrefix(String value) |
static String |
getNameFor(IDProvider element) |
String |
getPrefix() |
abstract boolean |
isTypeOf(IDProvider element) |
String |
nameFor(IDProvider element) |
static BinaryMedium.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryMedium.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryMedium.Type UNDEFINED
public static final BinaryMedium.Type MEDIUM
public static final BinaryMedium.Type FOLDER
public static BinaryMedium.Type[] values()
for (BinaryMedium.Type c : BinaryMedium.Type.values()) System.out.println(c);
public static BinaryMedium.Type 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 getPrefix()
public abstract boolean isTypeOf(IDProvider element)
public String nameFor(IDProvider element)
public static BinaryMedium.Type fromPrefix(String value)
public static String getNameFor(IDProvider element)
public static BinaryMedium.Type fromElement(IDProvider element)
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408