com.semarchy.mdm.runtime.model.logical
Enum HelpContent

java.lang.Object
  extended by java.lang.Enum<HelpContent>
      extended by com.semarchy.mdm.runtime.model.logical.HelpContent
All Implemented Interfaces:
Serializable, Comparable<HelpContent>

public enum HelpContent
extends Enum<HelpContent>

Describes what should be displayed in the help for a given form attribute

Author:
sarod

Enum Constant Summary
BOTH
          Both: Show both attribute and metadata descriptions as help content
DESCRIPTION
          Attribute Description: Show attribute description as help content
METADATA
          Metadata Description: Show metadata description as help content
NONE
          None: No help content
 
Method Summary
static HelpContent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HelpContent[] 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

BOTH

public static final HelpContent BOTH
Both: Show both attribute and metadata descriptions as help content


DESCRIPTION

public static final HelpContent DESCRIPTION
Attribute Description: Show attribute description as help content


METADATA

public static final HelpContent METADATA
Metadata Description: Show metadata description as help content


NONE

public static final HelpContent NONE
None: No help content

Method Detail

values

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

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

valueOf

public static HelpContent 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.