net.sf.farrago.cwm.keysindexes
Interface CwmIndexClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmIndexClass$Hib
public interface CwmIndexClass
- extends RefClass
Index class proxy interface.
Instances of the Index class represent the ordering of the instances of
some other Class, and the Index is said to "span" the Class. Indexes
normally have an ordered set of attributes of the Class instance they span
that make up the "key" of the index; this set of relationships is
represented by the IndexedFeature class that indicates how the attributes
are used by the Index instance.
The Index class is intended primarily as a starting point for tools that
require the notion
of an index.
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.
createCwmIndex
CwmIndex createCwmIndex()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmIndex
CwmIndex createCwmIndex(String name,
VisibilityKind visibility,
boolean isPartitioning,
boolean isSorted,
boolean isUnique)
- Creates an instance object having attributes initialized by the passed
values.
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.isPartitioning
- If True, this Index instance is used as a
partitioning index.isSorted
- If True, the Index instance is maintained in a sorted
order.isUnique
- The isUnique attribute is True if the Index instance
guarantees all of its instances have a unique key value.
- Returns:
- The created instance object.