org.eclipse.emf.cdo.dbgen
Interface Column

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ColumnImpl

public interface Column
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Column'.

The following features are supported:

See Also:
DBGenPackage.getColumn()

Method Summary
 java.lang.String getConstraint()
          Returns the value of the 'Constraint' attribute
 int getLength()
          Returns the value of the 'Length' attribute
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Table getTable()
          Returns the value of the 'Table' container reference.
 ColumnType getType()
          Returns the value of the 'Type' attribute.
 void setConstraint(java.lang.String value)
          Sets the value of the 'Constraint' attribute
 void setLength(int value)
          Sets the value of the 'Length' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setTable(Table value)
          Sets the value of the 'Table' container reference
 void setType(ColumnType value)
          Sets the value of the 'Type' attribute
 
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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DBGenPackage.getColumn_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getTable

Table getTable()
Returns the value of the 'Table' container reference. It is bidirectional and its opposite is 'Columns'.

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

Returns:
the value of the 'Table' container reference.
See Also:
setTable(Table), DBGenPackage.getColumn_Table(), Table.getColumns()

setTable

void setTable(Table value)
Sets the value of the 'Table' container reference.

Parameters:
value - the new value of the 'Table' container reference.
See Also:
getTable()

getType

ColumnType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration ColumnType.

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

Returns:
the value of the 'Type' attribute.
See Also:
ColumnType, setType(ColumnType), DBGenPackage.getColumn_Type()

setType

void setType(ColumnType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
ColumnType, getType()

getLength

int getLength()
Returns the value of the 'Length' attribute.

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

Returns:
the value of the 'Length' attribute.
See Also:
setLength(int), DBGenPackage.getColumn_Length()

setLength

void setLength(int value)
Sets the value of the 'Length' attribute.

Parameters:
value - the new value of the 'Length' attribute.
See Also:
getLength()

getConstraint

java.lang.String getConstraint()
Returns the value of the 'Constraint' attribute.

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

Returns:
the value of the 'Constraint' attribute.
See Also:
setConstraint(String), DBGenPackage.getColumn_Constraint()

setConstraint

void setConstraint(java.lang.String value)
Sets the value of the 'Constraint' attribute.

Parameters:
value - the new value of the 'Constraint' attribute.
See Also:
getConstraint()

Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.