net.sf.farrago.cwm.relational
Interface CwmColumn

All Superinterfaces:
CwmAttribute, CwmElement, CwmFeature, CwmModelElement, CwmStructuralFeature, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
FemAbstractAttribute, FemAbstractColumn, FemSqltypeAttribute, FemStoredColumn, FemViewColumn
All Known Implementing Classes:
CwmColumn$Hib, FemSqltypeAttribute$Hib, FemStoredColumn$Hib, FemViewColumn$Hib

public interface CwmColumn
extends CwmAttribute

Column object instance interface. A column in a result set, a view, a table, or an SQLStructuredType.

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 String getCharacterSetName()
          Returns the value of attribute characterSetName.
 String getCollationName()
          Returns the value of attribute collationName.
 NullableType getIsNullable()
          Returns the value of attribute isNullable.
 Integer getLength()
          Returns the value of attribute length.
 CwmNamedColumnSet getOptionScopeColumnSet()
          Returns the value of reference optionScopeColumnSet.
 Integer getPrecision()
          Returns the value of attribute precision.
 CwmSqlstructuredType getReferencedTableType()
          Returns the value of reference referencedTableType.
 Integer getScale()
          Returns the value of attribute scale.
 void setCharacterSetName(String newValue)
          Sets the value of characterSetName attribute.
 void setCollationName(String newValue)
          Sets the value of collationName attribute.
 void setIsNullable(NullableType newValue)
          Sets the value of isNullable attribute.
 void setLength(Integer newValue)
          Sets the value of length attribute.
 void setOptionScopeColumnSet(CwmNamedColumnSet newValue)
          Sets the value of optionScopeColumnSet reference.
 void setPrecision(Integer newValue)
          Sets the value of precision attribute.
 void setReferencedTableType(CwmSqlstructuredType newValue)
          Sets the value of referencedTableType reference.
 void setScale(Integer newValue)
          Sets the value of scale attribute.
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmAttribute
getInitialValue, setInitialValue
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmStructuralFeature
getChangeability, getMultiplicity, getOrdering, getTargetScope, getType, setChangeability, setMultiplicity, setOrdering, setTargetScope, setType
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmFeature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getPrecision

Integer getPrecision()
Returns the value of attribute precision. The total number of digits in the field.

Returns:
Value of attribute precision.

setPrecision

void setPrecision(Integer newValue)
Sets the value of precision attribute. See getPrecision() for description on the attribute.

Parameters:
newValue - New value to be set.

getScale

Integer getScale()
Returns the value of attribute scale. The number of digits on the right of the decimal separator.

Returns:
Value of attribute scale.

setScale

void setScale(Integer newValue)
Sets the value of scale attribute. See getScale() for description on the attribute.

Parameters:
newValue - New value to be set.

getIsNullable

NullableType getIsNullable()
Returns the value of attribute isNullable. Indicates if null values are valid in this column. Note: Default values for Column data are provided in initialValue in the UML Attribute class (the class from which the Column class inherits).

Returns:
Value of attribute isNullable.

setIsNullable

void setIsNullable(NullableType newValue)
Sets the value of isNullable attribute. See getIsNullable() for description on the attribute.

Parameters:
newValue - New value to be set.

getLength

Integer getLength()
Returns the value of attribute length. The length of fixed length character or byte strings. Maximum length if length is variable.

Returns:
Value of attribute length.

setLength

void setLength(Integer newValue)
Sets the value of length attribute. See getLength() for description on the attribute.

Parameters:
newValue - New value to be set.

getCollationName

String getCollationName()
Returns the value of attribute collationName. The name of the collation sequence used to sort the data values in the column. This applies only to columns whose datatype is a form of character string.

Returns:
Value of attribute collationName.

setCollationName

void setCollationName(String newValue)
Sets the value of collationName attribute. See getCollationName() for description on the attribute.

Parameters:
newValue - New value to be set.

getCharacterSetName

String getCharacterSetName()
Returns the value of attribute characterSetName. The name of the character set used for the values in the column. This field applies only to columns whose datatype is a character string.

Returns:
Value of attribute characterSetName.

setCharacterSetName

void setCharacterSetName(String newValue)
Sets the value of characterSetName attribute. See getCharacterSetName() for description on the attribute.

Parameters:
newValue - New value to be set.

getOptionScopeColumnSet

CwmNamedColumnSet getOptionScopeColumnSet()
Returns the value of reference optionScopeColumnSet.

Returns:
Value of reference optionScopeColumnSet.

setOptionScopeColumnSet

void setOptionScopeColumnSet(CwmNamedColumnSet newValue)
Sets the value of optionScopeColumnSet reference. See getOptionScopeColumnSet() for description on the attribute.

Parameters:
newValue - New value to be set.

getReferencedTableType

CwmSqlstructuredType getReferencedTableType()
Returns the value of reference referencedTableType.

Returns:
Value of reference referencedTableType.

setReferencedTableType

void setReferencedTableType(CwmSqlstructuredType newValue)
Sets the value of referencedTableType reference. See getReferencedTableType() for description on the attribute.

Parameters:
newValue - New value to be set.