@Relvars(relvarNames={"CLUSTEREDRECORDSPACE","STORAGESPACE"}) public final class ClusteredRecordSpace extends AbstractUpdatableDBObject
Constructor and Description |
---|
ClusteredRecordSpace() |
ClusteredRecordSpace(java.lang.String fileName,
int storageSpaceID,
int pageCount,
int extentsCount) |
Modifier and Type | Method and Description |
---|---|
int |
getExtentsCount() |
java.lang.String |
getFileName()
Gets The file name
|
int |
getPageCount() |
UpdatableDBObject |
getPreUpdateState()
Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.
|
int |
getStorageSpaceID()
Gets the ID
|
void |
setExtentsCount(int extentsCount) |
void |
setExtentsCount(ValueBuffer extentsCount) |
void |
setFileName(java.lang.String fileName)
Sets The file name
|
void |
setFileName(ValueBuffer fileName)
Sets The file name
|
void |
setPageCount(int pageCount) |
void |
setPageCount(ValueBuffer pageCount) |
void |
setPreUpdateState()
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database.
|
void |
setStorageSpaceID(int storageSpaceID)
Sets the ID
|
void |
setStorageSpaceID(ValueBuffer storageSpaceID)
Sets the ID
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommand
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
public ClusteredRecordSpace()
@AttributeDef(attributeName="FILENAME",requiresEscaping=true,typeName="FILENAME") @AttributeDef(attributeName="STORAGESPACEID",requiresEscaping=false,typeName="INT") @AttributeDef(attributeName="PAGECOUNT",requiresEscaping=false,typeName="INT") @AttributeDef(attributeName="EXTENTSCOUNT",requiresEscaping=false,typeName="INT") public ClusteredRecordSpace(java.lang.String fileName, int storageSpaceID, int pageCount, int extentsCount)
fileName
- The file namestorageSpaceID
- The IDpageCount
- The page countextentsCount
- The extents count@GetterMethod(relvarNames="STORAGESPACE", attributeDefs=@AttributeDef(attributeName="EXTENTSCOUNT",requiresEscaping=false,typeName="INT")) public final int getExtentsCount()
@GetterMethod(relvarNames={"CLUSTEREDRECORDSPACE","STORAGESPACE"}, attributeDefs=@AttributeDef(attributeName="FILENAME",requiresEscaping=false,typeName="FILENAME")) public final java.lang.String getFileName()
@GetterMethod(relvarNames="STORAGESPACE", attributeDefs=@AttributeDef(attributeName="PAGECOUNT",requiresEscaping=false,typeName="INT")) public final int getPageCount()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(relvarNames={"CLUSTEREDRECORDSPACE","STORAGESPACE"}, attributeDefs=@AttributeDef(attributeName="STORAGESPACEID",requiresEscaping=false,typeName="INT")) public final int getStorageSpaceID()
public final void setExtentsCount(int extentsCount)
extentsCount
- The extentsCount to set.@AttributeDef(attributeName="EXTENTSCOUNT", requiresEscaping=false, typeName="INT") public final void setExtentsCount(ValueBuffer extentsCount)
extentsCount
- The extentsCount to set.public final void setFileName(java.lang.String fileName)
fileName
- The file name.@AttributeDef(attributeName="FILENAME", requiresEscaping=true, typeName="FILENAME") public final void setFileName(ValueBuffer fileName)
fileName
- The file name.public final void setPageCount(int pageCount)
pageCount
- The pageCount to set.@AttributeDef(attributeName="PAGECOUNT", requiresEscaping=false, typeName="INT") public final void setPageCount(ValueBuffer pageCount)
pageCount
- The pageCount to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setStorageSpaceID(int storageSpaceID)
storageSpaceID
- The ID to set.@AttributeDef(attributeName="STORAGESPACEID", requiresEscaping=false, typeName="INT") public final void setStorageSpaceID(ValueBuffer storageSpaceID)
storageSpaceID
- The ID to set.