|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Field'.
4.13 Columns, fields, and attributes
The terms column, field, and attribute refer to structural components of tables, row types, and structured types, respectively, in analogous fashion. As the structure of a table consists of one or more columns, so does the structure of a row type consist of one or more fields and that of a structured type one or more attributes. Every structural element, whether a column, a field, or an attribute, is primarily a name paired with a declared type.
The elements of a structure are ordered. Elements in different positions in the same structure can have the same declared type but not the same name. Although the elements of a structure are distinguished from each other by name, in some circumstances the compatibility of two structures (for the purpose at hand) is determined solely by considering the declared types of each pair of elements at the same ordinal position.
A field F is described by a field descriptor. A field descriptor includes:
- The name of the field.
- The data type descriptor of the declared type of F.
- The ordinal position of F within the row type that simply contains it.
- If the data type of the field is a reference type, then an indication of whether reference values shall be checked, and the
The following features are supported:
SQLDataTypesPackage.getField()
Method Summary | |
ReferentialActionType |
getScopeCheck()
Returns the value of the 'Scope Check' attribute. |
boolean |
isScopeChecked()
Returns the value of the 'Scope Checked' 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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
Method Detail |
public ReferentialActionType getScopeCheck()
ReferentialActionType
.
If the meaning of the 'Scope Check' attribute isn't clear, there really should be more of a description here...
ReferentialActionType
,
setScopeCheck(ReferentialActionType)
,
SQLDataTypesPackage.getField_ScopeCheck()
public void setScopeCheck(ReferentialActionType value)
Scope Check
' attribute.
value
- the new value of the 'Scope Check' attribute.ReferentialActionType
,
getScopeCheck()
public boolean isScopeChecked()
If the meaning of the 'Scope Checked' attribute isn't clear, there really should be more of a description here...
setScopeChecked(boolean)
,
SQLDataTypesPackage.getField_ScopeChecked()
public void setScopeChecked(boolean value)
Scope Checked
' attribute.
value
- the new value of the 'Scope Checked' attribute.isScopeChecked()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |