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

All Superinterfaces:
DataType, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject, UserDefinedType
All Known Implementing Classes:
JDBCStructuredUDT, org.eclipse.datatools.modelbase.sql.datatypes.impl.StructuredUserDefinedTypeImpl

public interface StructuredUserDefinedType
extends UserDefinedType

A representation of the model object 'Structured User Defined Type'. Reference: 5WD-02-Foundation-2002-12 4.7 User-defined types

The following features are supported:

See Also:
SQLDataTypesPackage.getStructuredUserDefinedType()

Method Summary
 org.eclipse.emf.common.util.EList getAttributes()
          Returns the value of the 'Attributes' containment reference list.
 org.eclipse.emf.common.util.EList getMethods()
          Returns the value of the 'Methods' containment reference list.
 org.eclipse.emf.common.util.EList getSub()
          Returns the value of the 'Sub' reference list.
 StructuredUserDefinedType getSuper()
          Returns the value of the 'Super' reference.
 boolean isFinal()
          Returns the value of the 'Final' attribute.
 boolean isInstantiable()
          Returns the value of the 'Instantiable' attribute.
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute.
 void setInstantiable(boolean value)
          Sets the value of the 'Instantiable' attribute.
 void setSuper(StructuredUserDefinedType value)
          Sets the value of the 'Super' reference.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.UserDefinedType
getOrdering, getSchema, setOrdering, setSchema
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.DataType
setContainer
 
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

isInstantiable

boolean isInstantiable()
Returns the value of the 'Instantiable' attribute. The default value is "True".

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

Returns:
the value of the 'Instantiable' attribute.
See Also:
setInstantiable(boolean), SQLDataTypesPackage.getStructuredUserDefinedType_Instantiable()

setInstantiable

void setInstantiable(boolean value)
Sets the value of the 'Instantiable' attribute.

Parameters:
value - the new value of the 'Instantiable' attribute.
See Also:
isInstantiable()

isFinal

boolean isFinal()
Returns the value of the 'Final' attribute.

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

Returns:
the value of the 'Final' attribute.
See Also:
setFinal(boolean), SQLDataTypesPackage.getStructuredUserDefinedType_Final()

setFinal

void setFinal(boolean value)
Sets the value of the 'Final' attribute.

Parameters:
value - the new value of the 'Final' attribute.
See Also:
isFinal()

getSuper

StructuredUserDefinedType getSuper()
Returns the value of the 'Super' reference. It is bidirectional and its opposite is 'Sub'.

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

Returns:
the value of the 'Super' reference.
See Also:
setSuper(StructuredUserDefinedType), SQLDataTypesPackage.getStructuredUserDefinedType_Super(), getSub()

setSuper

void setSuper(StructuredUserDefinedType value)
Sets the value of the 'Super' reference.

Parameters:
value - the new value of the 'Super' reference.
See Also:
getSuper()

getSub

org.eclipse.emf.common.util.EList getSub()
Returns the value of the 'Sub' reference list. The list contents are of type StructuredUserDefinedType. It is bidirectional and its opposite is 'Super'.

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

Returns:
the value of the 'Sub' reference list.
See Also:
SQLDataTypesPackage.getStructuredUserDefinedType_Sub(), getSuper()

getAttributes

org.eclipse.emf.common.util.EList getAttributes()
Returns the value of the 'Attributes' containment reference list. The list contents are of type AttributeDefinition.

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

Returns:
the value of the 'Attributes' containment reference list.
See Also:
SQLDataTypesPackage.getStructuredUserDefinedType_Attributes()

getMethods

org.eclipse.emf.common.util.EList getMethods()
Returns the value of the 'Methods' containment reference list. The list contents are of type Method.

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

Returns:
the value of the 'Methods' containment reference list.
See Also:
SQLDataTypesPackage.getStructuredUserDefinedType_Methods()