com.artenum.forceria.template
Enum TemplateData.TemplateDataType

java.lang.Object
  extended by java.lang.Enum<TemplateData.TemplateDataType>
      extended by com.artenum.forceria.template.TemplateData.TemplateDataType
All Implemented Interfaces:
Serializable, Comparable<TemplateData.TemplateDataType>
Enclosing class:
TemplateData

public static enum TemplateData.TemplateDataType
extends Enum<TemplateData.TemplateDataType>


Enum Constant Summary
ARRAY
           
BOOLEAN
           
LIST
           
SET
           
USER
           
 
Method Summary
 int getLengthIndex()
           
 String getPattern()
           
 int getSubtypeIndex()
           
static TemplateData.TemplateDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TemplateData.TemplateDataType[] 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

USER

public static final TemplateData.TemplateDataType USER

BOOLEAN

public static final TemplateData.TemplateDataType BOOLEAN

LIST

public static final TemplateData.TemplateDataType LIST

SET

public static final TemplateData.TemplateDataType SET

ARRAY

public static final TemplateData.TemplateDataType ARRAY
Method Detail

values

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

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

valueOf

public static TemplateData.TemplateDataType 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

getPattern

public String getPattern()
Returns:
the pattern

getSubtypeIndex

public int getSubtypeIndex()
Returns:
the subtypeIndex

getLengthIndex

public int getLengthIndex()
Returns:
the lengthIndex


Copyright © 2010-2013 Artenum. All Rights Reserved.