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

All Superinterfaces:
DataType, DistinctUserDefinedType, 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 Subinterfaces:
SybaseASABaseUserDefinedType
All Known Implementing Classes:
org.eclipse.datatools.modelbase.sql.datatypes.impl.DomainImpl, SybaseASABaseUserDefinedTypeImpl, SybaseASACatalogBaseUserDefinedDataType

public interface Domain
extends DistinctUserDefinedType

A representation of the model object 'Domain'. Reference: 5WD-02-Foundation-2002-12 4.12 Domains

The following features are supported:

See Also:
SQLDataTypesPackage.getDomain()

Method Summary
 org.eclipse.emf.common.util.EList getConstraint()
          Returns the value of the 'Constraint' containment reference list.
 java.lang.String getDefaultValue()
          Returns the value of the 'Default Value' attribute.
 void setDefaultValue(java.lang.String value)
          Sets the value of the 'Default Value' attribute.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.DistinctUserDefinedType
getPredefinedRepresentation, setPredefinedRepresentation
 
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

getConstraint

org.eclipse.emf.common.util.EList getConstraint()
Returns the value of the 'Constraint' containment reference list. The list contents are of type CheckConstraint.

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

Returns:
the value of the 'Constraint' containment reference list.
See Also:
SQLDataTypesPackage.getDomain_Constraint()

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.getDomain_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()