org.eclipse.datatools.modelbase.sql.datatypes
Interface AttributeDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject, TypedElement

public interface AttributeDefinition
extends TypedElement

A representation of the model object 'Attribute Definition'. Reference: 5WD-02-Foundation-2002-12 4.13 Columns, fields, and attributes

The following features are supported:

See Also:
SQLDataTypesPackage.getAttributeDefinition()

Method Summary
 java.lang.String getDefaultValue()
          Returns the value of the 'Default Value' attribute.
 ReferentialActionType getScopeCheck()
          Returns the value of the 'Scope Check' attribute.
 boolean isScopeChecked()
          Returns the value of the 'Scope Checked' attribute.
 void setDefaultValue(java.lang.String value)
          Sets the value of the 'Default Value' attribute.
 void setScopeCheck(ReferentialActionType value)
          Sets the value of the 'Scope Check' attribute.
 void setScopeChecked(boolean value)
          Sets the value of the 'Scope Checked' attribute.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.TypedElement
getContainedType, getDataType, getReferencedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
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.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getScopeCheck

ReferentialActionType getScopeCheck()
Returns the value of the 'Scope Check' attribute. The literals are from the enumeration ReferentialActionType.

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

Returns:
the value of the 'Scope Check' attribute.
See Also:
ReferentialActionType, setScopeCheck(ReferentialActionType), SQLDataTypesPackage.getAttributeDefinition_ScopeCheck()

setScopeCheck

void setScopeCheck(ReferentialActionType value)
Sets the value of the 'Scope Check' attribute.

Parameters:
value - the new value of the 'Scope Check' attribute.
See Also:
ReferentialActionType, getScopeCheck()

isScopeChecked

boolean isScopeChecked()
Returns the value of the 'Scope Checked' attribute.

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

Returns:
the value of the 'Scope Checked' attribute.
See Also:
setScopeChecked(boolean), SQLDataTypesPackage.getAttributeDefinition_ScopeChecked()

setScopeChecked

void setScopeChecked(boolean value)
Sets the value of the 'Scope Checked' attribute.

Parameters:
value - the new value of the 'Scope Checked' attribute.
See Also:
isScopeChecked()

getDefaultValue

java.lang.String getDefaultValue()
Returns the value of the 'Default Value' attribute.

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

Returns:
the value of the 'Default Value' attribute.
See Also:
setDefaultValue(String), SQLDataTypesPackage.getAttributeDefinition_DefaultValue()

setDefaultValue

void setDefaultValue(java.lang.String value)
Sets the value of the 'Default Value' attribute.

Parameters:
value - the new value of the 'Default Value' attribute.
See Also:
getDefaultValue()