|
DODS 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.CoreDataStruct
public abstract class CoreDataStruct
Base class from which the data objects are derived.
Field Summary | |
---|---|
protected int |
newVersion
|
protected ObjectId |
oId
|
protected int |
version
|
Constructor Summary | |
---|---|
CoreDataStruct()
Public constructor. |
Method Summary | |
---|---|
boolean |
compareCond(Condition cond)
Subclass should override this method if wants to use it. |
abstract CoreDataStruct |
dumpData(boolean incrementVersion)
|
java.lang.String |
get_CacheHandle()
Subclass should override this method if wants to use it. |
java.lang.String |
get_Database()
Subclass should override this method if wants to use it. |
java.lang.String |
get_Handle()
Subclass should override this method if wants to use it. |
ObjectId |
get_OId()
Returns this object's identifier. |
protected static java.lang.String |
get_OIdColumnName()
Returns the object identifier column name. |
protected int |
get_Version()
Returns this object's version. |
protected static java.lang.String |
get_versionColumnName()
Returns the version column name. |
java.lang.String |
getHandle()
Deprecated. Use get_Handle() instead. |
ObjectId |
getOId()
Deprecated. Use get_OId() |
protected int |
getVersion()
Deprecated. Use get_Version() |
protected void |
set_OId(ObjectId oId)
Sets this object's identifier. |
protected static void |
set_OIdColumnName(java.lang.String _oidColumnName)
Sets the object identifier column name. |
protected void |
set_Version(int _version)
Sets this object's version. |
protected static void |
set_versionColumnName(java.lang.String _versionColumnName)
Sets the version column name. |
protected void |
setOId(ObjectId oId)
Deprecated. Use set_OId() |
protected void |
setVersion(int _version)
Deprecated. Use set_Version() |
abstract void |
writeXMLData(java.io.Writer writer)
Writes the data, for this WebRowSet object to the given Writer object in XML format. |
static void |
writeXMLhead(java.io.Writer w)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ObjectId oId
protected int version
protected int newVersion
Constructor Detail |
---|
public CoreDataStruct()
Method Detail |
---|
protected static java.lang.String get_OIdColumnName()
protected static void set_OIdColumnName(java.lang.String _oidColumnName)
_oidColumnName
- Name of object identifier column.protected static java.lang.String get_versionColumnName()
protected static void set_versionColumnName(java.lang.String _versionColumnName)
_versionColumnName
- Name of version column.protected void setVersion(int _version)
_version
- the object's version.protected void set_Version(int _version)
_version
- the object's version.protected int getVersion()
protected int get_Version()
public ObjectId getOId()
public ObjectId get_OId()
protected void setOId(ObjectId oId)
oId
- this object's identifier.protected void set_OId(ObjectId oId)
oId
- this object's identifier.public boolean compareCond(Condition cond)
cond
- Condition of the query.
public java.lang.String getHandle() throws DatabaseManagerException
DatabaseManagerException
- If a connection to the database cannot be established, etc.public java.lang.String get_Handle() throws DatabaseManagerException
DatabaseManagerException
- If a connection to the database cannot be established, etc.public java.lang.String get_CacheHandle() throws DatabaseManagerException
DatabaseManagerException
- If a connection to the database cannot be established, etc.public java.lang.String get_Database()
public abstract CoreDataStruct dumpData(boolean incrementVersion)
public abstract void writeXMLData(java.io.Writer writer) throws java.io.IOException
writer
- java.io.Writer to write into
java.io.IOException
public static void writeXMLhead(java.io.Writer w) throws java.io.IOException
java.io.IOException
|
DODS 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |