com.ca.commons.datamodel.cfg
Enum MetaDataTarget

java.lang.Object
  extended by java.lang.Enum<MetaDataTarget>
      extended by com.ca.commons.datamodel.cfg.MetaDataTarget
All Implemented Interfaces:
Serializable, Comparable<MetaDataTarget>

public enum MetaDataTarget
extends Enum<MetaDataTarget>

Represents the entities represented in a datamodel that can be targeted by metadata properties.


Enum Constant Summary
ACCOUNT_CLASS
           
CLASS
           
ENDPOINT_CLASS
           
ENDPOINT_TYPE
           
FLAT_ENDPOINT_TYPE
           
HIERARCHICAL_ENDPOINT_TYPE
           
POLICY_CLASS
           
PROPERTY
           
VIRTUAL_CONTAINER_CLASS
           
 
Method Summary
static MetaDataTarget valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MetaDataTarget[] 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

ENDPOINT_TYPE

public static final MetaDataTarget ENDPOINT_TYPE

CLASS

public static final MetaDataTarget CLASS

PROPERTY

public static final MetaDataTarget PROPERTY

ENDPOINT_CLASS

public static final MetaDataTarget ENDPOINT_CLASS

ACCOUNT_CLASS

public static final MetaDataTarget ACCOUNT_CLASS

POLICY_CLASS

public static final MetaDataTarget POLICY_CLASS

VIRTUAL_CONTAINER_CLASS

public static final MetaDataTarget VIRTUAL_CONTAINER_CLASS

FLAT_ENDPOINT_TYPE

public static final MetaDataTarget FLAT_ENDPOINT_TYPE

HIERARCHICAL_ENDPOINT_TYPE

public static final MetaDataTarget HIERARCHICAL_ENDPOINT_TYPE
Method Detail

values

public static MetaDataTarget[] 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 (MetaDataTarget c : MetaDataTarget.values())
    System.out.println(c);

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

valueOf

public static MetaDataTarget valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Created 2011-07-14 13:27 EST