com.ebmwebsourcing.bpmndiagram.business.domain.to
Enum Constants.DataType

java.lang.Object
  extended by java.lang.Enum<Constants.DataType>
      extended by com.ebmwebsourcing.bpmndiagram.business.domain.to.Constants.DataType
All Implemented Interfaces:
Constants.SynapseEnum, java.io.Serializable, java.lang.Comparable<Constants.DataType>
Enclosing class:
Constants

public static enum Constants.DataType
extends java.lang.Enum<Constants.DataType>
implements Constants.SynapseEnum


Enum Constant Summary
Boolean
           
DateTime
           
Float
           
Int
           
Long
           
String
           
 
Method Summary
static Constants.DataType getDataTypeByString(java.lang.String type)
           
 java.lang.String getDescription()
          each constant should have a string description
 java.lang.String getName()
          each constant should have a name
static Constants.DataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Constants.DataType[] 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

String

public static final Constants.DataType String

DateTime

public static final Constants.DataType DateTime

Int

public static final Constants.DataType Int

Float

public static final Constants.DataType Float

Long

public static final Constants.DataType Long

Boolean

public static final Constants.DataType Boolean
Method Detail

values

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

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

valueOf

public static Constants.DataType 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

getDescription

public java.lang.String getDescription()
Description copied from interface: Constants.SynapseEnum
each constant should have a string description

Specified by:
getDescription in interface Constants.SynapseEnum

getName

public java.lang.String getName()
Description copied from interface: Constants.SynapseEnum
each constant should have a name

Specified by:
getName in interface Constants.SynapseEnum

getDataTypeByString

public static Constants.DataType getDataTypeByString(java.lang.String type)


Copyright © 2010 eBM WebSourcing. All Rights Reserved.