@Relvars(relvarNames="STORAGESPACE") public final class StorageSpace extends AbstractUpdatableDBObject
Constructor and Description |
---|
StorageSpace() |
StorageSpace(java.lang.String fileName,
int storageSpaceID,
int pageCount,
int extentsCount) |
Modifier and Type | Method and Description |
---|---|
int |
getExtentsCount()
Gets extentsCount
|
java.lang.String |
getFileName()
Gets The file name
|
int |
getPageCount()
Gets The page count
|
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)
Sets extentsCount
|
void |
setExtentsCount(ValueBuffer extentsCount)
Sets extentsCount
|
void |
setFileName(java.lang.String fileName)
Sets The file name
|
void |
setFileName(ValueBuffer fileName)
Sets The file name
|
void |
setPageCount(int pageCount)
Sets The page count
|
void |
setPageCount(ValueBuffer pageCount)
Sets The page count
|
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 StorageSpace()
public StorageSpace(java.lang.String fileName, int storageSpaceID, int pageCount, int extentsCount)
fileName
- The file namestorageSpaceID
- The IDpageCount
- The page countextentsCount
- The extents count@GetterMethod(attributeDefs=@AttributeDef(attributeName="EXTENTSCOUNT",requiresEscaping=false,typeName="INT"), relvarNames="STORAGESPACE") public final int getExtentsCount()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="FILENAME",requiresEscaping=false,typeName="FILENAME"), relvarNames="STORAGESPACE") public final java.lang.String getFileName()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="PAGECOUNT",requiresEscaping=false,typeName="INT"), relvarNames="STORAGESPACE") public final int getPageCount()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="STORAGESPACEID",requiresEscaping=false,typeName="INT"), relvarNames="STORAGESPACE") 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=false, typeName="FILENAME") public void setFileName(ValueBuffer fileName)
fileName
- The file name.public final void setPageCount(int pageCount)
pageCount
- The page count.@AttributeDef(attributeName="PAGECOUNT", requiresEscaping=false, typeName="INT") public void setPageCount(ValueBuffer pageCount)
pageCount
- The page count.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.