com.ibm.db.models.db2.luw
Interface LUWDatabaseContainer

All Superinterfaces:
commonj.sdo.DataObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable, org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
All Known Implementing Classes:
LUWDatabaseContainerImpl

public interface LUWDatabaseContainer
extends org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject

A representation of the model object 'Database Container'. DB2 Universal Database SQL Reference Version 8.1 (Vol.1 and 2) http://www7b.software.ibm.com/dmdd/library/techarticle/0206sqlref/0206sqlref.html Table spaces and other storage structures Storage structures contain database objects. The basic storage structure is the table space; it contains tables, indexes, large objects, and data defined with a LONG data type. There are two types of table spaces: - Database managed space (DMS): a table space that is managed by the database manager. - System managed space (SMS): a table space that is managed by the operating system. All table spaces consist of containers. A container describes where objects are stored. A subdirectory in a file system is an example of a container.

The following features are supported:

See Also:
LUWPackage.getLUWDatabaseContainer()

Method Summary
 LUWContainerType getContainerType()
          Returns the value of the 'Container Type' attribute.
 int getSize()
          Returns the value of the 'Size' attribute.
 int getSizeInPages()
          Returns the value of the 'Size In Pages' attribute.
 UnitType getSizeUnits()
          Returns the value of the 'Size Units' attribute.
 LUWTableSpace getTableSpace()
          Returns the value of the 'Table Space' container reference.
 void setContainerType(LUWContainerType value)
          Sets the value of the 'Container Type' attribute.
 void setSize(int value)
          Sets the value of the 'Size' attribute.
 void setSizeInPages(int value)
          Sets the value of the 'Size In Pages' attribute.
 void setSizeUnits(UnitType value)
          Sets the value of the 'Size Units' attribute.
 void setTableSpace(LUWTableSpace value)
          Sets the value of the 'Table Space' container reference.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 

Method Detail

getContainerType

LUWContainerType getContainerType()
Returns the value of the 'Container Type' attribute. The literals are from the enumeration LUWContainerType.

If the meaning of the 'Container Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Container Type' attribute.
See Also:
LUWContainerType, setContainerType(LUWContainerType), LUWPackage.getLUWDatabaseContainer_ContainerType()

setContainerType

void setContainerType(LUWContainerType value)
Sets the value of the 'Container Type' attribute.

Parameters:
value - the new value of the 'Container Type' attribute.
See Also:
LUWContainerType, getContainerType()

getSizeInPages

int getSizeInPages()
Returns the value of the 'Size In Pages' attribute.

If the meaning of the 'Size In Pages' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Size In Pages' attribute.
See Also:
setSizeInPages(int), LUWPackage.getLUWDatabaseContainer_SizeInPages()

setSizeInPages

void setSizeInPages(int value)
Sets the value of the 'Size In Pages' attribute.

Parameters:
value - the new value of the 'Size In Pages' attribute.
See Also:
getSizeInPages()

getSize

int getSize()
Returns the value of the 'Size' attribute.

If the meaning of the 'Size' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Size' attribute.
See Also:
setSize(int), LUWPackage.getLUWDatabaseContainer_Size()

setSize

void setSize(int value)
Sets the value of the 'Size' attribute.

Parameters:
value - the new value of the 'Size' attribute.
See Also:
getSize()

getSizeUnits

UnitType getSizeUnits()
Returns the value of the 'Size Units' attribute. The literals are from the enumeration UnitType.

If the meaning of the 'Size Units' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Size Units' attribute.
See Also:
UnitType, setSizeUnits(UnitType), LUWPackage.getLUWDatabaseContainer_SizeUnits()

setSizeUnits

void setSizeUnits(UnitType value)
Sets the value of the 'Size Units' attribute.

Parameters:
value - the new value of the 'Size Units' attribute.
See Also:
UnitType, getSizeUnits()

getTableSpace

LUWTableSpace getTableSpace()
Returns the value of the 'Table Space' container reference. It is bidirectional and its opposite is 'Containers'.

If the meaning of the 'Table Space' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Table Space' container reference.
See Also:
setTableSpace(LUWTableSpace), LUWPackage.getLUWDatabaseContainer_TableSpace(), LUWTableSpace.getContainers()

setTableSpace

void setTableSpace(LUWTableSpace value)
Sets the value of the 'Table Space' container reference.

Parameters:
value - the new value of the 'Table Space' container reference.
See Also:
getTableSpace()