filenet.vw.api
Class VWRDBObjectDefinition
- java.lang.Object
-
- filenet.vw.api.VWRDBObjectDefinition
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public final class VWRDBObjectDefinition extends java.lang.Object implements java.io.Serializable, java.lang.CloneableThis class encapsulates the definition of a relational database object.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringSTR_PE_BLOBValue of "pe_blob".static java.lang.StringSTR_PE_DATAValue of "pe_data".static java.lang.StringSTR_PE_INDEXValue of "pe_index".static java.lang.StringSTR_TYPE_EVENT_LOGValue of "log".static java.lang.StringSTR_TYPE_QUEUEValue of "queue".static java.lang.StringSTR_TYPE_ROSTERValue of "roster".static java.lang.StringSTR_TYPE_TABLEValue of "table".
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Creates a clone of thisVWRDBObjectDefinitionobject.intgetIsolatedRegionNumber()Gets the isolated region number.java.lang.StringgetLocation()Gets the table space (or file group) name.java.lang.StringgetLogicalIndexName()Gets the logical index name.java.lang.StringgetLogicalTableName()Gets the logical table name.java.lang.StringgetObjectRoot()Gets the object root value.java.lang.StringgetType()Gets the object type.booleanhasChanged()Indicates whether thisVWRDBObjectDefinitionobject has changed.voidsetLocation(java.lang.String theLocation)Sets the table space (or file group) name.voidsetLogicalIndexName(java.lang.String theLogicalIndexName)(Optional) Sets the logical index namevoidsetLogicalTableName(java.lang.String theLogicalTableName)(Optional) Sets the logical table name.voidsetObjectRoot(java.lang.String theObjectRoot)Sets the object root value.voidsetType(java.lang.String theType)(Optional) Sets the object type.java.lang.StringtoString()Gets the string representation of thisVWRDBObjectDefinitionobject.
-
-
-
Field Detail
-
STR_PE_DATA
public static final java.lang.String STR_PE_DATA
Value of "pe_data". The object root used for the data table space (or file group).- See Also:
- Constant Field Values
-
STR_PE_INDEX
public static final java.lang.String STR_PE_INDEX
Value of "pe_index". The object root used for the index table space (or file group).- See Also:
- Constant Field Values
-
STR_PE_BLOB
public static final java.lang.String STR_PE_BLOB
Value of "pe_blob". The object root used for the blob table space (or file group).- See Also:
- Constant Field Values
-
STR_TYPE_QUEUE
public static final java.lang.String STR_TYPE_QUEUE
Value of "queue". The object root used for the type property, which is optional.- See Also:
- Constant Field Values
-
STR_TYPE_ROSTER
public static final java.lang.String STR_TYPE_ROSTER
Value of "roster". Used for the type property, which is optional.- See Also:
- Constant Field Values
-
STR_TYPE_EVENT_LOG
public static final java.lang.String STR_TYPE_EVENT_LOG
Value of "log". Used for the type property, which is optional.- See Also:
- Constant Field Values
-
STR_TYPE_TABLE
public static final java.lang.String STR_TYPE_TABLE
Value of "table". Used for the type property, which is optional.- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectRoot
public java.lang.String getObjectRoot() throws VWExceptionGets the object root value.- Returns:
- The object root value, which will be one of the following:
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setObjectRoot
public void setObjectRoot(java.lang.String theObjectRoot) throws VWExceptionSets the object root value.- Parameters:
theObjectRoot- AStringcorresponding to one of the following:- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getIsolatedRegionNumber
public int getIsolatedRegionNumber() throws VWExceptionGets the isolated region number.- Returns:
- The isolated region number.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getType
public java.lang.String getType() throws VWExceptionGets the object type.- Returns:
- A
Stringcorresponding to one of the following: - Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setType
public void setType(java.lang.String theType) throws VWException(Optional) Sets the object type.- Parameters:
theType- AStringcorresponding to one of the following:- Throws:
VWException- Thrown for various causes, including invalid type.- Since:
- PE 5.2.0.0
-
getLogicalTableName
public java.lang.String getLogicalTableName() throws VWExceptionGets the logical table name.- Returns:
- The logical table name (this may be null).
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setLogicalTableName
public void setLogicalTableName(java.lang.String theLogicalTableName) throws VWException(Optional) Sets the logical table name.- Parameters:
theLogicalTableName- the logical table name (this can be null).- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getLogicalIndexName
public java.lang.String getLogicalIndexName() throws VWExceptionGets the logical index name.- Returns:
- The logical index name (this may be null).
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setLogicalIndexName
public void setLogicalIndexName(java.lang.String theLogicalIndexName) throws VWException(Optional) Sets the logical index name- Parameters:
theLogicalIndexName- the logical index name (this can be null).- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getLocation
public java.lang.String getLocation() throws VWExceptionGets the table space (or file group) name.- Returns:
- The table space (or file group) name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setLocation
public void setLocation(java.lang.String theLocation) throws VWExceptionSets the table space (or file group) name. This will be validated when this object is committed to the server.- Parameters:
theLocation- The table space (or file group) name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
hasChanged
public boolean hasChanged() throws VWExceptionIndicates whether thisVWRDBObjectDefinitionobject has changed.- Returns:
- A value of
true, if this object has been updated;falseotherwise. - Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
toString
public java.lang.String toString()
Gets the string representation of thisVWRDBObjectDefinitionobject.- Overrides:
toStringin classjava.lang.Object- Returns:
- A canonical string containing the property values: object
root, type, logical table name and logical index name. Any
nullproperty values are omitted from the result. Example string: "pe_data.1" - Since:
- PE 5.2.0.0
-
clone
public java.lang.Object clone()
Creates a clone of thisVWRDBObjectDefinitionobject.- Overrides:
clonein classjava.lang.Object- Returns:
- A clone of this instance.
- Since:
- PE 5.2.0.0
-
-