com.evolveum.midpoint.test.util
Enum SampleObjects

java.lang.Object
  extended by java.lang.Enum<SampleObjects>
      extended by com.evolveum.midpoint.test.util.SampleObjects
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SampleObjects>

public enum SampleObjects
extends java.lang.Enum<SampleObjects>

Enumeration of a sample object identifiers (OIDs). The identifiers are meant to identify objects in files in test-data/repository directory.

Since:
1.0.0
Version:
$Revision$ $Date$
Author:
$author$

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(java.lang.String value)
           
 java.lang.String getOID()
           
static SampleObjects valueOf(java.lang.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

RESOURCETYPE_LOCALHOST_OPENDJ

public static final SampleObjects RESOURCETYPE_LOCALHOST_OPENDJ
Localhost OpenDJ (ResourceType)


RESOURCETYPE_FLATFILE

public static final SampleObjects RESOURCETYPE_FLATFILE
Flatfile (ResourceType)


RESOURCETYPE_LOCALHOST_DATABASETABLE

public static final SampleObjects RESOURCETYPE_LOCALHOST_DATABASETABLE
Localhost DatabaseTable (ResourceType)


ACCOUNTSHADOWTYPE_OPENDJ_JBOND

public static final SampleObjects ACCOUNTSHADOWTYPE_OPENDJ_JBOND
OpenDJ jbond (AccountShadowType)


ACCOUNTSHADOWTYPE_OPENDJ_JDOE

public static final SampleObjects ACCOUNTSHADOWTYPE_OPENDJ_JDOE
OpenDJ unsaved jdoe (AccountShadowType)

Method Detail

values

public static SampleObjects[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SampleObjects c : SampleObjects.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SampleObjects valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getOID

public java.lang.String getOID()

findByOID

public static SampleObjects findByOID(java.lang.String value)


Copyright © 2011 evolveum. All Rights Reserved.