com.semarchy.mdm.runtime.data
Enum DataValueFormatter.LovFormat

java.lang.Object
  extended by java.lang.Enum<DataValueFormatter.LovFormat>
      extended by com.semarchy.mdm.runtime.data.DataValueFormatter.LovFormat
All Implemented Interfaces:
Serializable, Comparable<DataValueFormatter.LovFormat>
Enclosing class:
DataValueFormatter

public static enum DataValueFormatter.LovFormat
extends Enum<DataValueFormatter.LovFormat>


Enum Constant Summary
AS_DISPLAYED
          Append CODE, LABEL, LABEL - CODE or CODE - LABEL as defined in design
CODE
          Use Code only
CODE_AND_LABEL
          Append Code and Label like CODE - LABEL only (unknown code will be displayed as <code>
LABEL
          Use label only (unknown code will be displayed as <code> )
LABEL_AND_CODE
          Append Label and Code like LABEL - CODE only (unknown code will be displayed as <code>
 
Method Summary
static DataValueFormatter.LovFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataValueFormatter.LovFormat[] 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

CODE

public static final DataValueFormatter.LovFormat CODE
Use Code only


LABEL

public static final DataValueFormatter.LovFormat LABEL
Use label only (unknown code will be displayed as <code> )


CODE_AND_LABEL

public static final DataValueFormatter.LovFormat CODE_AND_LABEL
Append Code and Label like CODE - LABEL only (unknown code will be displayed as <code>


LABEL_AND_CODE

public static final DataValueFormatter.LovFormat LABEL_AND_CODE
Append Label and Code like LABEL - CODE only (unknown code will be displayed as <code>


AS_DISPLAYED

public static final DataValueFormatter.LovFormat AS_DISPLAYED
Append CODE, LABEL, LABEL - CODE or CODE - LABEL as defined in design

Method Detail

values

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

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

valueOf

public static DataValueFormatter.LovFormat 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


Copyright © 2015. All Rights Reserved.