Kie Workbench - Common - Data modeller API 6.1.0.Final

org.kie.workbench.common.screens.datamodeller.model
Enum DataModelTO.TOStatus

java.lang.Object
  extended by java.lang.Enum<DataModelTO.TOStatus>
      extended by org.kie.workbench.common.screens.datamodeller.model.DataModelTO.TOStatus
All Implemented Interfaces:
Serializable, Comparable<DataModelTO.TOStatus>
Enclosing class:
DataModelTO

public static enum DataModelTO.TOStatus
extends Enum<DataModelTO.TOStatus>


Enum Constant Summary
PERSISTENT
          An element that was read form persistent status, .java files.
PERSISTENT_EXTERNALLY_MODIFIED
          Data objects that wasn't created by the data modeller, or was modified by an external editor and pushed to the project repository.
VOLATILE
          An element that was created in memory an was not saved to persistent .java file yet.
 
Method Summary
static DataModelTO.TOStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataModelTO.TOStatus[] 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

PERSISTENT

public static final DataModelTO.TOStatus PERSISTENT
An element that was read form persistent status, .java files.


VOLATILE

public static final DataModelTO.TOStatus VOLATILE
An element that was created in memory an was not saved to persistent .java file yet.


PERSISTENT_EXTERNALLY_MODIFIED

public static final DataModelTO.TOStatus PERSISTENT_EXTERNALLY_MODIFIED
Data objects that wasn't created by the data modeller, or was modified by an external editor and pushed to the project repository.

Method Detail

values

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

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

valueOf

public static DataModelTO.TOStatus 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

Kie Workbench - Common - Data modeller API 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.