|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SampleObjects>
com.evolveum.midpoint.test.util.SampleObjects
public enum SampleObjects
Enumeration of a sample object identifiers (OIDs). The identifiers are meant to identify objects in files in test-data/repository directory.
Enum Constant Summary | |
---|---|
ACCOUNTSHADOWTYPE_OPENDJ_JBOND
OpenDJ jbond (AccountShadowType) |
|
ACCOUNTSHADOWTYPE_OPENDJ_JDOE
OpenDJ unsaved jdoe (AccountShadowType) |
|
RESOURCETYPE_FLATFILE
Flatfile (ResourceType) |
|
RESOURCETYPE_LOCALHOST_DATABASETABLE
Localhost DatabaseTable (ResourceType) |
|
RESOURCETYPE_LOCALHOST_OPENDJ
Localhost OpenDJ (ResourceType) |
Method Summary | |
---|---|
static SampleObjects |
findByOID(String value)
|
String |
getOID()
|
static SampleObjects |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SampleObjects[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SampleObjects RESOURCETYPE_LOCALHOST_OPENDJ
public static final SampleObjects RESOURCETYPE_FLATFILE
public static final SampleObjects RESOURCETYPE_LOCALHOST_DATABASETABLE
public static final SampleObjects ACCOUNTSHADOWTYPE_OPENDJ_JBOND
public static final SampleObjects ACCOUNTSHADOWTYPE_OPENDJ_JDOE
Method Detail |
---|
public static SampleObjects[] values()
for (SampleObjects c : SampleObjects.values()) System.out.println(c);
public static SampleObjects valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getOID()
public static SampleObjects findByOID(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |