com.ibm.db.models.db2
Interface DB2XMLSchema

All Superinterfaces:
commonj.sdo.DataObject, DB2XSRObject, 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:
DB2XMLSchemaImpl

public interface DB2XMLSchema
extends DB2XSRObject

A representation of the model object 'DB2XML Schema'. XML Schema comprises of one or more XMLSchema documents. Users register XML schemas and not just schema documents (from LI2934)

The following features are supported:

See Also:
DB2ModelPackage.getDB2XMLSchema()

Method Summary
 DB2XMLSchemaDecomposition getDecomposition()
          Returns the value of the 'Decomposition' attribute.
 DB2XMLSchemaStatus getStatus()
          Returns the value of the 'Status' attribute.
 org.eclipse.emf.common.util.EList getXmlSchemaDocs()
          Returns the value of the 'Xml Schema Docs' containment reference list.
 void setDecomposition(DB2XMLSchemaDecomposition value)
          Sets the value of the 'Decomposition' attribute.
 void setStatus(DB2XMLSchemaStatus value)
          Sets the value of the 'Status' attribute.
 
Methods inherited from interface com.ibm.db.models.db2.DB2XSRObject
getSchema, setSchema
 
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

getDecomposition

DB2XMLSchemaDecomposition getDecomposition()
Returns the value of the 'Decomposition' attribute. The literals are from the enumeration DB2XMLSchemaDecomposition. The states can either be Yes, No or Inoperative and thus need to be represented by an Enumeration instead of a boolean. Represented in the database: Y=enabled N=not enabled X=inoperative Use enumerated types for the three states.

Returns:
the value of the 'Decomposition' attribute.
See Also:
DB2XMLSchemaDecomposition, setDecomposition(DB2XMLSchemaDecomposition), DB2ModelPackage.getDB2XMLSchema_Decomposition()

setDecomposition

void setDecomposition(DB2XMLSchemaDecomposition value)
Sets the value of the 'Decomposition' attribute.

Parameters:
value - the new value of the 'Decomposition' attribute.
See Also:
DB2XMLSchemaDecomposition, getDecomposition()

getStatus

DB2XMLSchemaStatus getStatus()
Returns the value of the 'Status' attribute. The literals are from the enumeration DB2XMLSchemaStatus.

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

Returns:
the value of the 'Status' attribute.
See Also:
DB2XMLSchemaStatus, setStatus(DB2XMLSchemaStatus), DB2ModelPackage.getDB2XMLSchema_Status()

setStatus

void setStatus(DB2XMLSchemaStatus value)
Sets the value of the 'Status' attribute.

Parameters:
value - the new value of the 'Status' attribute.
See Also:
DB2XMLSchemaStatus, getStatus()

getXmlSchemaDocs

org.eclipse.emf.common.util.EList getXmlSchemaDocs()
Returns the value of the 'Xml Schema Docs' containment reference list. The list contents are of type DB2XMLSchemaDocument. It is bidirectional and its opposite is 'Xml Schema'.

If the meaning of the 'Xml Schema Docs' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Xml Schema Docs' containment reference list.
See Also:
DB2ModelPackage.getDB2XMLSchema_XmlSchemaDocs(), DB2XMLSchemaDocument.getXmlSchema()