com.ibm.ram.common.data
Class State

java.lang.Object
  extended by com.ibm.ram.common.data.State
Direct Known Subclasses:
RAMState

public class State
extends java.lang.Object

Represents an asset state

Since:
7.1

Field Summary
static int ASSET_APPROVED_ID
          The static state id for the approved state
static java.lang.String ASSET_APPROVED_NAME
          The static state name for the approved state
static int ASSET_ARCHIVED_ID
          The static state id for the archived state
static java.lang.String ASSET_ARCHIVED_NAME
          The static state name for the archived state
static int ASSET_AS_IS_ID
          The static state id for the as is state
static java.lang.String ASSET_AS_IS_NAME
          The static state name for the as is state
static int ASSET_DRAFT_ID
          The static state id for the draft state
static java.lang.String ASSET_DRAFT_NAME
          The static state name for the draft state
static int ASSET_EVALUATE_REVIEW_ID
          The static state id for the evaluate review state
static java.lang.String ASSET_EVALUATE_REVIEW_NAME
          The static state name for the evaluate review state
static int ASSET_PLAN_REVIEW_ID
          The static state id for the plan review state
static java.lang.String ASSET_PLAN_REVIEW_NAME
          The static state name for the plan review state
static int ASSET_RETIRED_ID
          The static state id for the retired state
static java.lang.String ASSET_RETIRED_NAME
          The static state name for the retired state
static int ASSET_REVIEW_ID
          The static state id for the retired state
static java.lang.String ASSET_REVIEW_NAME
          The static state name for the retired state
static int LIBRARY_LOADED_ID
          The static static id for the library loaded state.
static java.lang.String LIBRARY_LOADED_NAME
          The static state name for loaded library.
static int LIBRARY_UNLOADED_ID
          The static static id for the library unloaded state.
static java.lang.String LIBRARY_UNLOADED_NAME
          The static state name for unloaded library.
 
Constructor Summary
State()
           
 
Method Summary
 int getId()
           
 java.lang.String getIdentifier()
           
 java.lang.String getName()
           
 java.lang.String getWorkflowId()
           
 void setId(int id)
           
 void setIdentifier(java.lang.String identifier)
           
 void setName(java.lang.String name)
           
 void setWorkflowId(java.lang.String workflowId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASSET_APPROVED_ID

public static int ASSET_APPROVED_ID
The static state id for the approved state


ASSET_APPROVED_NAME

public static java.lang.String ASSET_APPROVED_NAME
The static state name for the approved state


ASSET_ARCHIVED_ID

public static int ASSET_ARCHIVED_ID
The static state id for the archived state


ASSET_ARCHIVED_NAME

public static java.lang.String ASSET_ARCHIVED_NAME
The static state name for the archived state


ASSET_AS_IS_ID

public static int ASSET_AS_IS_ID
The static state id for the as is state


ASSET_AS_IS_NAME

public static java.lang.String ASSET_AS_IS_NAME
The static state name for the as is state


ASSET_DRAFT_ID

public static int ASSET_DRAFT_ID
The static state id for the draft state


ASSET_DRAFT_NAME

public static java.lang.String ASSET_DRAFT_NAME
The static state name for the draft state


ASSET_EVALUATE_REVIEW_ID

public static int ASSET_EVALUATE_REVIEW_ID
The static state id for the evaluate review state


ASSET_EVALUATE_REVIEW_NAME

public static java.lang.String ASSET_EVALUATE_REVIEW_NAME
The static state name for the evaluate review state


ASSET_PLAN_REVIEW_ID

public static int ASSET_PLAN_REVIEW_ID
The static state id for the plan review state


ASSET_PLAN_REVIEW_NAME

public static java.lang.String ASSET_PLAN_REVIEW_NAME
The static state name for the plan review state


ASSET_RETIRED_ID

public static int ASSET_RETIRED_ID
The static state id for the retired state


ASSET_RETIRED_NAME

public static java.lang.String ASSET_RETIRED_NAME
The static state name for the retired state


ASSET_REVIEW_ID

public static int ASSET_REVIEW_ID
The static state id for the retired state


ASSET_REVIEW_NAME

public static java.lang.String ASSET_REVIEW_NAME
The static state name for the retired state


LIBRARY_LOADED_ID

public static int LIBRARY_LOADED_ID
The static static id for the library loaded state.

Since:
7.1.1

LIBRARY_LOADED_NAME

public static java.lang.String LIBRARY_LOADED_NAME
The static state name for loaded library.

Since:
7.1.1

LIBRARY_UNLOADED_ID

public static int LIBRARY_UNLOADED_ID
The static static id for the library unloaded state.

Since:
7.1.1

LIBRARY_UNLOADED_NAME

public static java.lang.String LIBRARY_UNLOADED_NAME
The static state name for unloaded library.

Since:
7.1.1
Constructor Detail

State

public State()
Method Detail

getId

public int getId()
Returns:
the database id for the asset state.
Since:
7.1

setId

public void setId(int id)
Parameters:
id - the database id of the state.
Since:
7.1

getName

public java.lang.String getName()
Returns:
The name of the state.
Since:
7.1

setName

public void setName(java.lang.String name)
Parameters:
name - The name of the state.
Since:
7.1

getIdentifier

public java.lang.String getIdentifier()
Returns:
Returns the fIdentifier.
Since:
7.2

getWorkflowId

public java.lang.String getWorkflowId()
Returns:
Returns the fWorkflowId.
Since:
7.2

setIdentifier

public void setIdentifier(java.lang.String identifier)
Parameters:
identifier - The identifier to set.
Since:
7.2

setWorkflowId

public void setWorkflowId(java.lang.String workflowId)
Parameters:
workflowId - The workflowId to set.
Since:
7.2

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Since:
7.2