public class FileSpecification extends AbstractChildDBObject
File Specification properties. A file specification is
used to represent data and temp files for Tablespace objects| Modifier and Type | Class and Description |
|---|---|
static class |
FileSpecification.FileStatus |
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
FileSpecification() |
FileSpecification(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
AutoExtendProperties |
getAutoExtendProperties()
Return AUTO EXTEND properties
|
java.lang.String |
getDirectory()
Return file directory name
|
java.math.BigInteger |
getFileSize()
Return file SIZE in bytes
|
FileSpecification.FileStatus |
getStatus()
return online status of the file specification
|
java.lang.String |
getType()
Returns the type of this object.
|
boolean |
isReuse()
Return whether an existing filename should be re-used or not
|
void |
setAutoExtendProperties(AutoExtendProperties autoExtendProperties)
Set AUTO EXTEND properties
|
void |
setDirectory(java.lang.String directory)
Set file directory name
|
void |
setFileSize(java.math.BigInteger fileSize)
Set file SIZE (the amount of bytes storage required on the file system)
|
void |
setReuse(boolean reuse)
Set REUSE value.
|
void |
setStatus(FileSpecification.FileStatus status)
Set online status of file, either ONLINE or OFFLINE
|
setParentaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, copyToImpl, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getParent, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String TYPE
public FileSpecification()
public FileSpecification(java.lang.String fileName)
public java.lang.String getType()
DBObjectpublic void setDirectory(java.lang.String directory)
directory - name of directory to store datafilespublic java.lang.String getDirectory()
public void setFileSize(java.math.BigInteger fileSize)
fileSize - size of file specificationpublic java.math.BigInteger getFileSize()
public void setReuse(boolean reuse)
reuse - re-use given file name if true else falsepublic boolean isReuse()
public void setStatus(FileSpecification.FileStatus status)
status - online status of the file specificationpublic FileSpecification.FileStatus getStatus()
public void setAutoExtendProperties(AutoExtendProperties autoExtendProperties)
autoExtendProperties - auto extend propertiespublic AutoExtendProperties getAutoExtendProperties()