com.ibm.db.models.db2
Interface DB2Method

All Superinterfaces:
commonj.sdo.DataObject, DB2AccessPlan, DB2Function, DB2Routine, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.wst.rdb.internal.models.sql.routines.Function, org.eclipse.wst.rdb.internal.models.sql.routines.Method, org.eclipse.emf.common.notify.Notifier, org.eclipse.wst.rdb.internal.models.sql.routines.Routine, java.io.Serializable, org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
All Known Implementing Classes:
DB2MethodImpl

public interface DB2Method
extends org.eclipse.wst.rdb.internal.models.sql.routines.Method, DB2Function

A representation of the model object 'DB2 Method'. Inherits both DB2Model::DB2Function and SQLModel::Method and used in SQLModel::StructuredUserDefinedType

The following features are supported:

See Also:
DB2ModelPackage.getDB2Method()

Field Summary
 
Fields inherited from interface com.ibm.db.models.db2.DB2Function
COLUMN_TYPE, ROW_TYPE, SCALAR_TYPE, TABLE_TYPE
 
Fields inherited from interface com.ibm.db.models.db2.DB2Routine
CLEAN, DIRTY, DIRTY_DDL
 
Method Summary
 boolean isImplemented()
          Returns the value of the 'Implemented' attribute.
 boolean isReturnsSelfAsResult()
          Returns the value of the 'Returns Self As Result' attribute.
 void setImplemented(boolean value)
          Sets the value of the 'Implemented' attribute.
 void setReturnsSelfAsResult(boolean value)
          Sets the value of the 'Returns Self As Result' attribute.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.routines.Method
isConstructor, isOverriding, setConstructor, setOverriding
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.routines.Function
getReturnCast, getReturnScaler, getReturnTable, getTransformGroup, isMutator, isNullCall, isStatic, isTypePreserving, setMutator, setNullCall, setReturnCast, setReturnScaler, setReturnTable, setStatic, setTransformGroup, setTypePreserving
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.routines.Routine
getAuthorizationID, getCreationTS, getExternalName, getInputParameters, getLanguage, getLastAlteredTS, getOutputParameters, getParameters, getParameterStyle, getSchema, getSecurity, getSource, getSpecificName, getSqlDataAccess, isDeterministic, setAuthorizationID, setCreationTS, setDeterministic, setExternalName, setLanguage, setLastAlteredTS, setParameterStyle, setSchema, setSecurity, setSource, setSpecificName, setSqlDataAccess
 
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
 
Methods inherited from interface com.ibm.db.models.db2.DB2Function
getCardinality, getFunctionType, getOrigin, getPredicate, getReturnClause, getScratchPadLength, isAllowParallel, isExternalAction, isFinalCall, isInheritLockRequest, isScratchPad, setAllowParallel, setCardinality, setExternalAction, setFinalCall, setFunctionType, setInheritLockRequest, setOrigin, setPredicate, setReturnClause, setScratchPad, setScratchPadLength
 
Methods inherited from interface com.ibm.db.models.db2.DB2Routine
getChangeState, getDebugId, getExtendedOptions, getFenced, getOrigParmSig, getOrigSchemaName, getParmCcsid, getProgramType, getRoutineExtensions, getSpecialRegister, getThreadsafe, isDbInfo, isFederated, isImplicitSchema, setChangeState, setDbInfo, setDebugId, setFederated, setFenced, setImplicitSchema, setOrigParmSig, setOrigSchemaName, setParmCcsid, setProgramType, setSpecialRegister, setThreadsafe
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.routines.Routine
getAuthorizationID, getCreationTS, getExternalName, getInputParameters, getLanguage, getLastAlteredTS, getOutputParameters, getParameters, getParameterStyle, getSchema, getSecurity, getSource, getSpecificName, getSqlDataAccess, isDeterministic, setAuthorizationID, setCreationTS, setDeterministic, setExternalName, setLanguage, setLastAlteredTS, setParameterStyle, setSchema, setSecurity, setSource, setSpecificName, setSqlDataAccess
 
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
 
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

isReturnsSelfAsResult

boolean isReturnsSelfAsResult()
Returns the value of the 'Returns Self As Result' attribute. SELF AS RESULT Identifies this method as a type-preserving method, which means the following: - The declared return type must be the same as the declared subject-type (SQLSTATE 428EQ). - When an SQL statement is compiled and resolves to a type preserving method, the static type of the result of the method is the same as the static type of the subject argument. - The method must be implemented in such a way that the dynamic type of the result is the same as the dynamic type of the subject argument (SQLSTATE 2200G), and the result cannot be NULL (SQLSTATE 22004). If the method being defined overrides another method, this clause cannot be specified (SQLSTATE 428FV).

Returns:
the value of the 'Returns Self As Result' attribute.
See Also:
setReturnsSelfAsResult(boolean), DB2ModelPackage.getDB2Method_ReturnsSelfAsResult()

setReturnsSelfAsResult

void setReturnsSelfAsResult(boolean value)
Sets the value of the 'Returns Self As Result' attribute.

Parameters:
value - the new value of the 'Returns Self As Result' attribute.
See Also:
isReturnsSelfAsResult()

isImplemented

boolean isImplemented()
Returns the value of the 'Implemented' attribute.

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

Returns:
the value of the 'Implemented' attribute.
See Also:
setImplemented(boolean), DB2ModelPackage.getDB2Method_Implemented()

setImplemented

void setImplemented(boolean value)
Sets the value of the 'Implemented' attribute.

Parameters:
value - the new value of the 'Implemented' attribute.
See Also:
isImplemented()