net.sf.farrago.cwm.datatypes
Interface CwmTypeAliasClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmTypeAliasClass$Hib
public interface CwmTypeAliasClass
- extends RefClass
TypeAlias class proxy interface.
The TypeAlias class is intended to provide a renaming capability for
Classifier instances. This class is required to support situations in
which creation of an alias for a class effectively creates a new class.
For example, CORBA IDL type aliases have different typeCodes than their
base types and are therefore treated as distinct types.
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.
createCwmTypeAlias
CwmTypeAlias createCwmTypeAlias()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmTypeAlias
CwmTypeAlias createCwmTypeAlias(String name,
VisibilityKind visibility,
boolean isAbstract)
- 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.isAbstract
- An abstract Classifier is not instantiable.
- Returns:
- The created instance object.