net.sf.farrago.cwm.keysindexes
Interface CwmIndexedFeature

All Superinterfaces:
CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmSqlindexColumn, FemLocalIndexColumn
All Known Implementing Classes:
CwmIndexedFeature$Hib, CwmSqlindexColumn$Hib, FemLocalIndexColumn$Hib

public interface CwmIndexedFeature
extends CwmModelElement

IndexedFeature object instance interface. Instances of the IndexedFeature class map StructuralFeature instances of the spanned Class instance to the Index instances that employ them as (part of) their key. Attributes of IndexedFeature instances indicate how specific StructuralFeature instance are used in Index keys.

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
 CwmStructuralFeature getFeature()
          Returns the value of reference feature.
 CwmIndex getIndex()
          Returns the value of reference index.
 Boolean isAscending()
          Returns the value of attribute isAscending.
 void setAscending(Boolean newValue)
          Sets the value of isAscending attribute.
 void setFeature(CwmStructuralFeature newValue)
          Sets the value of feature reference.
 void setIndex(CwmIndex newValue)
          Sets the value of index reference.
 
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

isAscending

Boolean isAscending()
Returns the value of attribute isAscending. The isAscending attribute is true if the feature is sorted in ascending order and false, if descending order.

Returns:
Value of attribute isAscending.

setAscending

void setAscending(Boolean newValue)
Sets the value of isAscending attribute. See isAscending() for description on the attribute.

Parameters:
newValue - New value to be set.

getFeature

CwmStructuralFeature getFeature()
Returns the value of reference feature.

Returns:
Value of reference feature.

setFeature

void setFeature(CwmStructuralFeature newValue)
Sets the value of feature reference. See getFeature() for description on the attribute.

Parameters:
newValue - New value to be set.

getIndex

CwmIndex getIndex()
Returns the value of reference index.

Returns:
Value of reference index.

setIndex

void setIndex(CwmIndex newValue)
Sets the value of index reference. See getIndex() for description on the attribute.

Parameters:
newValue - New value to be set.