com.ibm.db.models.db2
Interface DB2XMLSchemaDocument

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:
DB2XMLSchemaDocumentImpl

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

A representation of the model object 'DB2XML Schema Document'. XML Schema documents are used to validate XML documents that are stored in XML type columns.

The following features are supported:

See Also:
DB2ModelPackage.getDB2XMLSchemaDocument()

Method Summary
 java.lang.String getFileName()
          Returns the value of the 'File Name' attribute.
 java.lang.String getSchemaLocation()
          Returns the value of the 'Schema Location' attribute.
 java.lang.String getTargetNamespace()
          Returns the value of the 'Target Namespace' attribute.
 DB2XMLSchema getXmlSchema()
          Returns the value of the 'Xml Schema' container reference.
 org.eclipse.emf.common.util.EList getXmlSchemaDocProperties()
          Returns the value of the 'Xml Schema Doc Properties' containment reference list.
 boolean isPrimary()
          Returns the value of the 'Primary' attribute.
 void setFileName(java.lang.String value)
          Sets the value of the 'File Name' attribute.
 void setPrimary(boolean value)
          Sets the value of the 'Primary' attribute.
 void setSchemaLocation(java.lang.String value)
          Sets the value of the 'Schema Location' attribute.
 void setTargetNamespace(java.lang.String value)
          Sets the value of the 'Target Namespace' attribute.
 void setXmlSchema(DB2XMLSchema value)
          Sets the value of the 'Xml Schema' 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

getFileName

java.lang.String getFileName()
Returns the value of the 'File Name' attribute. The name of the .xsd file

Returns:
the value of the 'File Name' attribute.
See Also:
setFileName(String), DB2ModelPackage.getDB2XMLSchemaDocument_FileName()

setFileName

void setFileName(java.lang.String value)
Sets the value of the 'File Name' attribute.

Parameters:
value - the new value of the 'File Name' attribute.
See Also:
getFileName()

getSchemaLocation

java.lang.String getSchemaLocation()
Returns the value of the 'Schema Location' attribute. Specifies the URL of the xml schema document

Returns:
the value of the 'Schema Location' attribute.
See Also:
setSchemaLocation(String), DB2ModelPackage.getDB2XMLSchemaDocument_SchemaLocation()

setSchemaLocation

void setSchemaLocation(java.lang.String value)
Sets the value of the 'Schema Location' attribute.

Parameters:
value - the new value of the 'Schema Location' attribute.
See Also:
getSchemaLocation()

getTargetNamespace

java.lang.String getTargetNamespace()
Returns the value of the 'Target Namespace' attribute. Namespace of the schema document

Returns:
the value of the 'Target Namespace' attribute.
See Also:
setTargetNamespace(String), DB2ModelPackage.getDB2XMLSchemaDocument_TargetNamespace()

setTargetNamespace

void setTargetNamespace(java.lang.String value)
Sets the value of the 'Target Namespace' attribute.

Parameters:
value - the new value of the 'Target Namespace' attribute.
See Also:
getTargetNamespace()

isPrimary

boolean isPrimary()
Returns the value of the 'Primary' attribute. Each XML schema has 1 primary xml schema document. The targetNamespace and the schemaLocation of the primary document is assigned to the XML schema

Returns:
the value of the 'Primary' attribute.
See Also:
setPrimary(boolean), DB2ModelPackage.getDB2XMLSchemaDocument_Primary()

setPrimary

void setPrimary(boolean value)
Sets the value of the 'Primary' attribute.

Parameters:
value - the new value of the 'Primary' attribute.
See Also:
isPrimary()

getXmlSchema

DB2XMLSchema getXmlSchema()
Returns the value of the 'Xml Schema' container reference. It is bidirectional and its opposite is 'Xml Schema Docs'.

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

Returns:
the value of the 'Xml Schema' container reference.
See Also:
setXmlSchema(DB2XMLSchema), DB2ModelPackage.getDB2XMLSchemaDocument_XmlSchema(), DB2XMLSchema.getXmlSchemaDocs()

setXmlSchema

void setXmlSchema(DB2XMLSchema value)
Sets the value of the 'Xml Schema' container reference.

Parameters:
value - the new value of the 'Xml Schema' container reference.
See Also:
getXmlSchema()

getXmlSchemaDocProperties

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

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

Returns:
the value of the 'Xml Schema Doc Properties' containment reference list.
See Also:
DB2ModelPackage.getDB2XMLSchemaDocument_XmlSchemaDocProperties(), DB2XMLSchemaDocProperties.getXmlSchemaDoc()