com.ibm.db.models.db2
Interface DB2Source

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.routines.Source, org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
All Known Implementing Classes:
DB2SourceImpl

public interface DB2Source
extends org.eclipse.wst.rdb.internal.models.sql.routines.Source

A representation of the model object 'DB2 Source'.

The following features are supported:

See Also:
DB2ModelPackage.getDB2Source()

Method Summary
 java.lang.String getDb2PackageName()
          Returns the value of the 'Db2 Package Name' attribute.
 java.lang.String getFileName()
          Returns the value of the 'File Name' attribute.
 java.lang.String getLastModified()
          Returns the value of the 'Last Modified' attribute.
 java.lang.String getPackageName()
          Returns the value of the 'Package Name' attribute.
 DB2Source getPrimary()
          Returns the value of the 'Primary' container reference.
 org.eclipse.emf.common.util.EList getSupporting()
          Returns the value of the 'Supporting' containment reference list.
 void setDb2PackageName(java.lang.String value)
          Sets the value of the 'Db2 Package Name' attribute.
 void setFileName(java.lang.String value)
          Sets the value of the 'File Name' attribute.
 void setLastModified(java.lang.String value)
          Sets the value of the 'Last Modified' attribute.
 void setPackageName(java.lang.String value)
          Sets the value of the 'Package Name' attribute.
 void setPrimary(DB2Source value)
          Sets the value of the 'Primary' container reference.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.routines.Source
getBody, setBody
 
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.

Fully qualified file name where the file is stored on the local file system.

Returns:
the value of the 'File Name' attribute.
See Also:
setFileName(String), DB2ModelPackage.getDB2Source_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()

getPackageName

java.lang.String getPackageName()
Returns the value of the 'Package Name' attribute.

Java package name

Returns:
the value of the 'Package Name' attribute.
See Also:
setPackageName(String), DB2ModelPackage.getDB2Source_PackageName()

setPackageName

void setPackageName(java.lang.String value)
Sets the value of the 'Package Name' attribute.

Parameters:
value - the new value of the 'Package Name' attribute.
See Also:
getPackageName()

getDb2PackageName

java.lang.String getDb2PackageName()
Returns the value of the 'Db2 Package Name' attribute.

A package is an object that contains all the sections from a single source file. A section is the compiled form of an SQL statement. The name of the DB2 package name. In the case of SQLJ stored procedures for LUW and 390, this field contains the location of the serialized file stored on the sever (aka root package name)

Returns:
the value of the 'Db2 Package Name' attribute.
See Also:
setDb2PackageName(String), DB2ModelPackage.getDB2Source_Db2PackageName()

setDb2PackageName

void setDb2PackageName(java.lang.String value)
Sets the value of the 'Db2 Package Name' attribute.

Parameters:
value - the new value of the 'Db2 Package Name' attribute.
See Also:
getDb2PackageName()

getLastModified

java.lang.String getLastModified()
Returns the value of the 'Last Modified' attribute.

When this source was last modified. The string timestamp should be in the JDBC timestamp escape format. yyyy-mm-dd hh:mm:ss.fffffffff, where ffffffffff indicates nanoseconds.

Returns:
the value of the 'Last Modified' attribute.
See Also:
setLastModified(String), DB2ModelPackage.getDB2Source_LastModified()

setLastModified

void setLastModified(java.lang.String value)
Sets the value of the 'Last Modified' attribute.

Parameters:
value - the new value of the 'Last Modified' attribute.
See Also:
getLastModified()

getSupporting

org.eclipse.emf.common.util.EList getSupporting()
Returns the value of the 'Supporting' containment reference list. The list contents are of type DB2Source. It is bidirectional and its opposite is 'Primary'.

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

Returns:
the value of the 'Supporting' containment reference list.
See Also:
DB2ModelPackage.getDB2Source_Supporting(), getPrimary()

getPrimary

DB2Source getPrimary()
Returns the value of the 'Primary' container reference. It is bidirectional and its opposite is 'Supporting'.

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

Returns:
the value of the 'Primary' container reference.
See Also:
setPrimary(DB2Source), DB2ModelPackage.getDB2Source_Primary(), getSupporting()

setPrimary

void setPrimary(DB2Source value)
Sets the value of the 'Primary' container reference.

Parameters:
value - the new value of the 'Primary' container reference.
See Also:
getPrimary()