|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.sqls.db2.TableSpaceImpl.DatabaseManagedContainerImpl
Constructor Summary | |
TableSpaceImpl.DatabaseManagedContainerImpl()
|
Method Summary | |
java.lang.String |
getDevice()
Returns the containers device name or null, if the container is located in an operating system file. |
java.lang.String |
getFile()
Returns the containers file name or null, if the container is located in a raw device. |
long |
getNumOfPages()
Returns the containers size in pages. |
boolean |
isDatabaseManaged()
Returns whether the container is database managed If this is the case, the container may be casted to a TableSpace.DatabaseManagedContainer . |
boolean |
isSystemManaged()
Returns whether the container is system managed (aka an operating system file). |
void |
setDevice(java.lang.String pDevice)
|
void |
setFile(java.lang.String pFile)
|
void |
setNumOfPages(long pNumOfPages)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TableSpaceImpl.DatabaseManagedContainerImpl()
Method Detail |
public boolean isSystemManaged()
TableSpace.Container
Returns whether the container is system managed
(aka an operating system file). If this is the case,
the container may be casted to a
TableSpace.SystemManagedContainer
.
isSystemManaged
in interface TableSpace.Container
public boolean isDatabaseManaged()
TableSpace.Container
Returns whether the container is database managed
If this is the case, the container may be casted to a
TableSpace.DatabaseManagedContainer
.
isDatabaseManaged
in interface TableSpace.Container
public void setFile(java.lang.String pFile)
public java.lang.String getFile()
TableSpace.DatabaseManagedContainer
Returns the containers file name or null, if the
container is located in a raw device. In the latter case
it is guaranteed, that TableSpace.DatabaseManagedContainer.getDevice()
returns a
non-null value.
getFile
in interface TableSpace.DatabaseManagedContainer
public void setDevice(java.lang.String pDevice)
public java.lang.String getDevice()
TableSpace.DatabaseManagedContainer
Returns the containers device name or null, if the
container is located in an operating system file. In the
latter case it is guaranteed, that TableSpace.DatabaseManagedContainer.getDevice()
returns a non-null value.
getDevice
in interface TableSpace.DatabaseManagedContainer
public long getNumOfPages()
TableSpace.DatabaseManagedContainer
Returns the containers size in pages.
getNumOfPages
in interface TableSpace.DatabaseManagedContainer
public void setNumOfPages(long pNumOfPages)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |