org.eclipse.wst.rdb.internal.models.sql.datatypes
Interface ArrayDataType

All Superinterfaces:
CollectionDataType, ConstructedDataType, DataType, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLDataType, SQLObject
All Known Implementing Classes:
ArrayDataTypeImpl

public interface ArrayDataType
extends CollectionDataType

A representation of the model object 'Array Data Type'. 4.1 Data types A data type is a set of representable values. Every representable value belongs to at least one data type and some belong to several data types. [...] A constructed type is specified using one of SQL's data type constructors, ARRAY , MULTISET , REF , and ROW . A constructed type is either an array type, a multiset type, a reference type, or a row type, according to whether it is specified with ARRAY , MULTISET , REF , or ROW , respectively. Array types and multiset types are known generically as collection types.

The following features are supported:

See Also:
SQLDataTypesPackage.getArrayDataType()

Method Summary
 int getMaxCardinality()
          Returns the value of the 'Max Cardinality' attribute.
 void setMaxCardinality(int value)
          Sets the value of the 'Max Cardinality' attribute.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.CollectionDataType
getElement
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.DataType
setContainer
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, 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

getMaxCardinality

public int getMaxCardinality()
Returns the value of the 'Max Cardinality' attribute.

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

Returns:
the value of the 'Max Cardinality' attribute.
See Also:
setMaxCardinality(int), SQLDataTypesPackage.getArrayDataType_MaxCardinality()

setMaxCardinality

public void setMaxCardinality(int value)
Sets the value of the 'Max Cardinality' attribute.
Parameters:
value - the new value of the 'Max Cardinality' attribute.
See Also:
getMaxCardinality()