org.eclipse.wst.rdb.internal.models.sql.schema
Interface SQLObject

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ApproximateNumericDataType, ArrayDataType, Assertion, AttributeDefinition, AuthorizationIdentifier, BaseTable, BinaryStringDataType, BooleanDataType, BuiltInFunction, CharacterSet, CharacterStringDataType, CheckConstraint, CollectionDataType, Column, Constraint, ConstructedDataType, Database, DataLinkDataType, DataType, DateDataType, Dependency, DerivedTable, DistinctUserDefinedType, Domain, ExactNumericDataType, Field, FixedPrecisionDataType, ForeignKey, Function, Group, Index, IndexMember, IntegerDataType, IntervalDataType, Method, MultisetDataType, NumberDataType, NumericalDataType, Parameter, PersistentTable, PredefinedDataType, PrimaryKey, Procedure, QueryExpressionDefault, ReferenceConstraint, ReferenceDataType, Role, Routine, RoutineResultTable, RowDataType, Schema, SearchConditionDefault, Sequence, Source, SQLDataType, SQLStatementDefault, StructuredUserDefinedType, Table, TableConstraint, TemporaryTable, TimeDataType, Trigger, TypedElement, UniqueConstraint, User, UserDefinedFunction, UserDefinedType, UserDefinedTypeOrdering, ValueExpressionDefault, ViewTable, XMLDataType
All Known Implementing Classes:
SQLObjectImpl

public interface SQLObject
extends org.eclipse.emf.ecore.ENamedElement

A representation of the model object 'SQL Object'. The base object to be used for any Relation Database concept, representing the placeholder for the name and alias. This object will extend ENamedElement in the generated code. The string attribute name will be inherited from ENamedElement. Note: In the RDB sense, only table and view objects can be represented by aliases, but DB2 defines also database and network aliases, and even for nicknames that refer to data tables or views located on federated systems.

The following features are supported:

See Also:
SQLSchemaPackage.getSQLObject()

Method Summary
 org.eclipse.emf.ecore.EAnnotation addEAnnotation(java.lang.String source)
          
 void addEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation, java.lang.String key, java.lang.String value)
          
 org.eclipse.emf.common.util.EList getDependencies()
          Returns the value of the 'Dependencies' containment reference list.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 org.eclipse.emf.ecore.EAnnotation getEAnnotation(java.lang.String source)
          
 java.lang.String getEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation, java.lang.String key)
          
 java.lang.String getLabel()
          Returns the value of the 'Label' attribute.
 void removeEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation, java.lang.String key)
          
 void setAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation, java.lang.String key, java.lang.String value)
          
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute.
 void setLabel(java.lang.String value)
          Sets the value of the 'Label' attribute.
 
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

getDependencies

public org.eclipse.emf.common.util.EList getDependencies()
Returns the value of the 'Dependencies' containment reference list. The list contents are of type Dependency.

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

Returns:
the value of the 'Dependencies' containment reference list.
See Also:
SQLSchemaPackage.getSQLObject_Dependencies()

getDescription

public java.lang.String getDescription()
Returns the value of the 'Description' attribute.

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

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), SQLSchemaPackage.getSQLObject_Description()

setDescription

public void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.
Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

getLabel

public java.lang.String getLabel()
Returns the value of the 'Label' attribute.

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

Returns:
the value of the 'Label' attribute.
See Also:
setLabel(String), SQLSchemaPackage.getSQLObject_Label()

setLabel

public void setLabel(java.lang.String value)
Sets the value of the 'Label' attribute.
Parameters:
value - the new value of the 'Label' attribute.
See Also:
getLabel()

addEAnnotation

public org.eclipse.emf.ecore.EAnnotation addEAnnotation(java.lang.String source)

addEAnnotationDetail

public void addEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
                                 java.lang.String key,
                                 java.lang.String value)

getEAnnotationDetail

public java.lang.String getEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
                                             java.lang.String key)

setAnnotationDetail

public void setAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
                                java.lang.String key,
                                java.lang.String value)

removeEAnnotationDetail

public void removeEAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
                                    java.lang.String key)

getEAnnotation

public org.eclipse.emf.ecore.EAnnotation getEAnnotation(java.lang.String source)
Specified by:
getEAnnotation in interface org.eclipse.emf.ecore.EModelElement