org.enhydra.shark.eventaudit.data
Class ProcessHistoryDetailsDataStruct

java.lang.Object
  extended by com.lutris.appserver.server.sql.CoreDataStruct
      extended by org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDataStruct
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ProcessHistoryDetailsDataStruct
extends com.lutris.appserver.server.sql.CoreDataStruct
implements java.lang.Cloneable, java.io.Serializable

Data structure for DO class. A container for data members of a DO class. A DO class contains a reference to a DataStruct class. This reference can be null (a DO whose data has not yet been retrieved from the database), allowing a DO object to be a lightweight placeholder until its data is needed.

Since:
DODS Project;
Version:
$Revision: 1.22 $
Author:
NN
See Also:
Serialized Form

Field Summary
static int COLUMN_CNT
          Used for query caching.
static int COLUMN_DESCRIPTION
          Used for query caching.
static int COLUMN_LIMITTIME
          Used for query caching.
static int COLUMN_NAME
          Used for query caching.
static int COLUMN_OID
          Used for query caching.
static int COLUMN_ORDNO
          Used for query caching.
static int COLUMN_PRIORITY
          Used for query caching.
static int COLUMN_PROCESSHISTORYINFO
          Used for query caching.
static int COLUMN_PROCESSID
          Used for query caching.
static int COLUMN_RECORDEDTIME
          Used for query caching.
static int COLUMN_RECORDEDTIMETZO
          Used for query caching.
static int COLUMN_THETYPE
          Used for query caching.
static int COLUMN_THEUSERNAME
          Used for query caching.
static int COLUMN_VARIABLEDEFINITIONID
          Used for query caching.
static int COLUMN_VARIABLETYPE
          Used for query caching.
static int COLUMN_VARIABLEVALUE
          Used for query caching.
static int COLUMN_VARIABLEVALUEBOOL
          Used for query caching.
static int COLUMN_VARIABLEVALUEDATE
          Used for query caching.
static int COLUMN_VARIABLEVALUEDBL
          Used for query caching.
static int COLUMN_VARIABLEVALUELONG
          Used for query caching.
static int COLUMN_VARIABLEVALUEVCHAR
          Used for query caching.
static int COLUMN_VARIABLEVALUEXML
          Used for query caching.
 boolean readOnly
          A DO refers to this DataStruct.
 
Fields inherited from class com.lutris.appserver.server.sql.CoreDataStruct
newVersion, oId, version
 
Constructor Summary
ProcessHistoryDetailsDataStruct()
           
 
Method Summary
 boolean compareCond(org.enhydra.dods.cache.Condition cond)
          Compares whether this DataStruct object satisfies condition cond.
 com.lutris.appserver.server.sql.CoreDataStruct dumpData(boolean incrementVersion)
           
 ProcessHistoryDetailsDataStruct duplicate()
          Create a copy of the guts of a DO.
 com.lutris.dods.builder.generator.dataobject.XMLDataEnvelope envelope4VariableValueXML()
          Return value of VariableValueXML column.
 java.lang.String get_CacheHandle()
          Returns this object's cache handle (String in the form: ".
 java.lang.String get_Database()
           
 java.lang.String get_Handle()
          Returns this object's handle (identifier as a string).
protected  int get_Version()
          Returns DataStruct's version.
 java.math.BigDecimal getCNT()
          Return value of CNT column.
 java.lang.String getDescription()
          Return value of Description column.
 long getLimitTime()
          Return value of LimitTime column.
 java.lang.String getName()
          Return value of Name column.
 int getOrdNo()
          Return value of OrdNo column.
 short getPriority()
          Return value of Priority column.
 com.lutris.appserver.server.sql.ObjectId getProcessHistoryInfo()
          Return value of ProcessHistoryInfo column.
 java.lang.String getProcessId()
          Return value of ProcessId column.
 long getRecordedTime()
          Return value of RecordedTime column.
 long getRecordedTimeTZO()
          Return value of RecordedTimeTZO column.
 short getTheType()
          Return value of TheType column.
 java.lang.String getTheUsername()
          Return value of TheUsername column.
 java.lang.String getVariableDefinitionId()
          Return value of VariableDefinitionId column.
 short getVariableType()
          Return value of VariableType column.
 byte[] getVariableValue()
          Return value of VariableValue column.
 boolean getVariableValueBOOL()
          Return value of VariableValueBOOL column.
 java.sql.Timestamp getVariableValueDATE()
          Return value of VariableValueDATE column.
 double getVariableValueDBL()
          Return value of VariableValueDBL column.
 long getVariableValueLONG()
          Return value of VariableValueLONG column.
 java.lang.String getVariableValueVCHAR()
          Return value of VariableValueVCHAR column.
 org.w3c.dom.Node getVariableValueXML()
          Return value of VariableValueXML column.
protected  boolean isEmpty()
          Returns indicator if DataStruct has any useful content.
 void set_Database(java.lang.String dbName)
           
protected  void set_Empty(boolean b)
          Sets indicator if DataStruct has any useful content.
protected  void set_OId(com.lutris.appserver.server.sql.ObjectId oId)
          Sets this object's identifier.
protected  void set_Version(int v)
          Sets DataStruct's version.
 void setCNT(java.math.BigDecimal val4CNT)
          Sets CNT column.
 void setDescription(java.lang.String val4Description)
          Sets Description column.
 void setLimitTime(long val4LimitTime)
          Sets LimitTime column.
 void setName(java.lang.String val4Name)
          Sets Name column.
 void setOrdNo(int val4OrdNo)
          Sets OrdNo column.
 void setPriority(short val4Priority)
          Sets Priority column.
 void setProcessHistoryInfo(com.lutris.appserver.server.sql.ObjectId val4ProcessHistoryInfo)
          Sets ProcessHistoryInfo column.
 void setProcessId(java.lang.String val4ProcessId)
          Sets ProcessId column.
 void setRecordedTime(long val4RecordedTime)
          Sets RecordedTime column.
 void setRecordedTimeTZO(long val4RecordedTimeTZO)
          Sets RecordedTimeTZO column.
 void setTheType(short val4TheType)
          Sets TheType column.
 void setTheUsername(java.lang.String val4TheUsername)
          Sets TheUsername column.
 void setVariableDefinitionId(java.lang.String val4VariableDefinitionId)
          Sets VariableDefinitionId column.
 void setVariableType(short val4VariableType)
          Sets VariableType column.
 void setVariableValue(byte[] val4VariableValue)
          Sets VariableValue column.
 void setVariableValueBOOL(boolean val4VariableValueBOOL)
          Sets VariableValueBOOL column.
 void setVariableValueDATE(java.sql.Timestamp val4VariableValueDATE)
          Sets VariableValueDATE column.
 void setVariableValueDBL(double val4VariableValueDBL)
          Sets VariableValueDBL column.
 void setVariableValueLONG(long val4VariableValueLONG)
          Sets VariableValueLONG column.
 void setVariableValueVCHAR(java.lang.String val4VariableValueVCHAR)
          Sets VariableValueVCHAR column.
 void setVariableValueXML(org.w3c.dom.Node val4VariableValueXML)
          Sets VariableValueXML column.
 java.lang.String toString()
           
 java.lang.String toString(int indentCount)
           
 void writeXMLData(java.io.Writer w)
           
 
Methods inherited from class com.lutris.appserver.server.sql.CoreDataStruct
get_OId, get_OIdColumnName, get_versionColumnName, getHandle, getOId, getVersion, set_OIdColumnName, set_versionColumnName, setOId, setVersion, writeXMLhead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

readOnly

public boolean readOnly
A DO refers to this DataStruct. readOnly is set to true when the DO is stored in its class cache.


COLUMN_PROCESSID

public static final int COLUMN_PROCESSID
Used for query caching.

See Also:
Constant Field Values

COLUMN_PROCESSHISTORYINFO

public static final int COLUMN_PROCESSHISTORYINFO
Used for query caching.

See Also:
Constant Field Values

COLUMN_THETYPE

public static final int COLUMN_THETYPE
Used for query caching.

See Also:
Constant Field Values

COLUMN_RECORDEDTIME

public static final int COLUMN_RECORDEDTIME
Used for query caching.

See Also:
Constant Field Values

COLUMN_RECORDEDTIMETZO

public static final int COLUMN_RECORDEDTIMETZO
Used for query caching.

See Also:
Constant Field Values

COLUMN_THEUSERNAME

public static final int COLUMN_THEUSERNAME
Used for query caching.

See Also:
Constant Field Values

COLUMN_PRIORITY

public static final int COLUMN_PRIORITY
Used for query caching.

See Also:
Constant Field Values

COLUMN_LIMITTIME

public static final int COLUMN_LIMITTIME
Used for query caching.

See Also:
Constant Field Values

COLUMN_DESCRIPTION

public static final int COLUMN_DESCRIPTION
Used for query caching.

See Also:
Constant Field Values

COLUMN_NAME

public static final int COLUMN_NAME
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEDEFINITIONID

public static final int COLUMN_VARIABLEDEFINITIONID
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLETYPE

public static final int COLUMN_VARIABLETYPE
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUE

public static final int COLUMN_VARIABLEVALUE
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUEXML

public static final int COLUMN_VARIABLEVALUEXML
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUEVCHAR

public static final int COLUMN_VARIABLEVALUEVCHAR
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUEDBL

public static final int COLUMN_VARIABLEVALUEDBL
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUELONG

public static final int COLUMN_VARIABLEVALUELONG
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUEDATE

public static final int COLUMN_VARIABLEVALUEDATE
Used for query caching.

See Also:
Constant Field Values

COLUMN_VARIABLEVALUEBOOL

public static final int COLUMN_VARIABLEVALUEBOOL
Used for query caching.

See Also:
Constant Field Values

COLUMN_ORDNO

public static final int COLUMN_ORDNO
Used for query caching.

See Also:
Constant Field Values

COLUMN_CNT

public static final int COLUMN_CNT
Used for query caching.

See Also:
Constant Field Values

COLUMN_OID

public static final int COLUMN_OID
Used for query caching.

See Also:
Constant Field Values
Constructor Detail

ProcessHistoryDetailsDataStruct

public ProcessHistoryDetailsDataStruct()
Method Detail

isEmpty

protected boolean isEmpty()
Returns indicator if DataStruct has any useful content.

Returns:
true if DataStruct has any useful content, otherwise false.

set_Empty

protected void set_Empty(boolean b)
Sets indicator if DataStruct has any useful content.

Parameters:
b - new value of indicator if DataStruct has any useful content.

get_Version

protected int get_Version()
Returns DataStruct's version.

Overrides:
get_Version in class com.lutris.appserver.server.sql.CoreDataStruct
Returns:
DataStruct's version.

set_Version

protected void set_Version(int v)
Sets DataStruct's version.

Overrides:
set_Version in class com.lutris.appserver.server.sql.CoreDataStruct
Parameters:
v - new DataStruct's version.

set_OId

protected void set_OId(com.lutris.appserver.server.sql.ObjectId oId)
Sets this object's identifier.

Overrides:
set_OId in class com.lutris.appserver.server.sql.CoreDataStruct
Parameters:
oId - this object's identifier.

get_Handle

public java.lang.String get_Handle()
                            throws com.lutris.appserver.server.sql.DatabaseManagerException
Returns this object's handle (identifier as a string).

Overrides:
get_Handle in class com.lutris.appserver.server.sql.CoreDataStruct
Returns:
This object's identifier as a string.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - If a connection to the database cannot be established, etc.

get_CacheHandle

public java.lang.String get_CacheHandle()
                                 throws com.lutris.appserver.server.sql.DatabaseManagerException
Returns this object's cache handle (String in the form: ".").

Overrides:
get_CacheHandle in class com.lutris.appserver.server.sql.CoreDataStruct
Returns:
cache handle.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - If a connection to the database cannot be established, etc.

set_Database

public void set_Database(java.lang.String dbName)
Parameters:
dbName - - name of the logical database this DataStruct should belong to.

get_Database

public java.lang.String get_Database()
Overrides:
get_Database in class com.lutris.appserver.server.sql.CoreDataStruct
Returns:
name of the logical database this DataStruct belongs to.

dumpData

public com.lutris.appserver.server.sql.CoreDataStruct dumpData(boolean incrementVersion)
Specified by:
dumpData in class com.lutris.appserver.server.sql.CoreDataStruct

writeXMLData

public void writeXMLData(java.io.Writer w)
                  throws java.io.IOException
Specified by:
writeXMLData in class com.lutris.appserver.server.sql.CoreDataStruct
Throws:
java.io.IOException

toString

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

toString

public java.lang.String toString(int indentCount)

setProcessId

public void setProcessId(java.lang.String val4ProcessId)
Sets ProcessId column.

Parameters:
val4ProcessId - new column value.

getProcessId

public java.lang.String getProcessId()
Return value of ProcessId column.

Returns:
value of ProcessId column.

setProcessHistoryInfo

public void setProcessHistoryInfo(com.lutris.appserver.server.sql.ObjectId val4ProcessHistoryInfo)
Sets ProcessHistoryInfo column.

Parameters:
val4ProcessHistoryInfo - new column value.

getProcessHistoryInfo

public com.lutris.appserver.server.sql.ObjectId getProcessHistoryInfo()
Return value of ProcessHistoryInfo column.

Returns:
value of ProcessHistoryInfo column.

setTheType

public void setTheType(short val4TheType)
Sets TheType column.

Parameters:
val4TheType - new column value.

getTheType

public short getTheType()
Return value of TheType column.

Returns:
value of TheType column.

setRecordedTime

public void setRecordedTime(long val4RecordedTime)
Sets RecordedTime column.

Parameters:
val4RecordedTime - new column value.

getRecordedTime

public long getRecordedTime()
Return value of RecordedTime column.

Returns:
value of RecordedTime column.

setRecordedTimeTZO

public void setRecordedTimeTZO(long val4RecordedTimeTZO)
Sets RecordedTimeTZO column.

Parameters:
val4RecordedTimeTZO - new column value.

getRecordedTimeTZO

public long getRecordedTimeTZO()
Return value of RecordedTimeTZO column.

Returns:
value of RecordedTimeTZO column.

setTheUsername

public void setTheUsername(java.lang.String val4TheUsername)
Sets TheUsername column.

Parameters:
val4TheUsername - new column value.

getTheUsername

public java.lang.String getTheUsername()
Return value of TheUsername column.

Returns:
value of TheUsername column.

setPriority

public void setPriority(short val4Priority)
Sets Priority column.

Parameters:
val4Priority - new column value.

getPriority

public short getPriority()
Return value of Priority column.

Returns:
value of Priority column.

setLimitTime

public void setLimitTime(long val4LimitTime)
Sets LimitTime column.

Parameters:
val4LimitTime - new column value.

getLimitTime

public long getLimitTime()
Return value of LimitTime column.

Returns:
value of LimitTime column.

setDescription

public void setDescription(java.lang.String val4Description)
Sets Description column.

Parameters:
val4Description - new column value.

getDescription

public java.lang.String getDescription()
Return value of Description column.

Returns:
value of Description column.

setName

public void setName(java.lang.String val4Name)
Sets Name column.

Parameters:
val4Name - new column value.

getName

public java.lang.String getName()
Return value of Name column.

Returns:
value of Name column.

setVariableDefinitionId

public void setVariableDefinitionId(java.lang.String val4VariableDefinitionId)
Sets VariableDefinitionId column.

Parameters:
val4VariableDefinitionId - new column value.

getVariableDefinitionId

public java.lang.String getVariableDefinitionId()
Return value of VariableDefinitionId column.

Returns:
value of VariableDefinitionId column.

setVariableType

public void setVariableType(short val4VariableType)
Sets VariableType column.

Parameters:
val4VariableType - new column value.

getVariableType

public short getVariableType()
Return value of VariableType column.

Returns:
value of VariableType column.

setVariableValue

public void setVariableValue(byte[] val4VariableValue)
Sets VariableValue column.

Parameters:
val4VariableValue - new column value.

getVariableValue

public byte[] getVariableValue()
Return value of VariableValue column.

Returns:
value of VariableValue column.

setVariableValueXML

public void setVariableValueXML(org.w3c.dom.Node val4VariableValueXML)
Sets VariableValueXML column.

Parameters:
val4VariableValueXML - new column value.

getVariableValueXML

public org.w3c.dom.Node getVariableValueXML()
Return value of VariableValueXML column.

Returns:
value of VariableValueXML column.

envelope4VariableValueXML

public com.lutris.dods.builder.generator.dataobject.XMLDataEnvelope envelope4VariableValueXML()
Return value of VariableValueXML column.

Returns:
value of VariableValueXML column.

setVariableValueVCHAR

public void setVariableValueVCHAR(java.lang.String val4VariableValueVCHAR)
Sets VariableValueVCHAR column.

Parameters:
val4VariableValueVCHAR - new column value.

getVariableValueVCHAR

public java.lang.String getVariableValueVCHAR()
Return value of VariableValueVCHAR column.

Returns:
value of VariableValueVCHAR column.

setVariableValueDBL

public void setVariableValueDBL(double val4VariableValueDBL)
Sets VariableValueDBL column.

Parameters:
val4VariableValueDBL - new column value.

getVariableValueDBL

public double getVariableValueDBL()
Return value of VariableValueDBL column.

Returns:
value of VariableValueDBL column.

setVariableValueLONG

public void setVariableValueLONG(long val4VariableValueLONG)
Sets VariableValueLONG column.

Parameters:
val4VariableValueLONG - new column value.

getVariableValueLONG

public long getVariableValueLONG()
Return value of VariableValueLONG column.

Returns:
value of VariableValueLONG column.

setVariableValueDATE

public void setVariableValueDATE(java.sql.Timestamp val4VariableValueDATE)
Sets VariableValueDATE column.

Parameters:
val4VariableValueDATE - new column value.

getVariableValueDATE

public java.sql.Timestamp getVariableValueDATE()
Return value of VariableValueDATE column.

Returns:
value of VariableValueDATE column.

setVariableValueBOOL

public void setVariableValueBOOL(boolean val4VariableValueBOOL)
Sets VariableValueBOOL column.

Parameters:
val4VariableValueBOOL - new column value.

getVariableValueBOOL

public boolean getVariableValueBOOL()
Return value of VariableValueBOOL column.

Returns:
value of VariableValueBOOL column.

setOrdNo

public void setOrdNo(int val4OrdNo)
Sets OrdNo column.

Parameters:
val4OrdNo - new column value.

getOrdNo

public int getOrdNo()
Return value of OrdNo column.

Returns:
value of OrdNo column.

setCNT

public void setCNT(java.math.BigDecimal val4CNT)
Sets CNT column.

Parameters:
val4CNT - new column value.

getCNT

public java.math.BigDecimal getCNT()
Return value of CNT column.

Returns:
value of CNT column.

compareCond

public boolean compareCond(org.enhydra.dods.cache.Condition cond)
Compares whether this DataStruct object satisfies condition cond.

Overrides:
compareCond in class com.lutris.appserver.server.sql.CoreDataStruct
Parameters:
cond - Condition of the query.
Returns:
true if this DataStruct object satisfies condition of this query, otherwise false.

duplicate

public ProcessHistoryDetailsDataStruct duplicate()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Create a copy of the guts of a DO.

Returns:
Copied DataStruct object.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if createExisting() fails for a contained DO
com.lutris.appserver.server.sql.ObjectIdException - if GenericDO has trouble obtaining a valid id.
com.lutris.dods.builder.generator.query.DataObjectException