net.sf.farrago.cwm.behavioral
Interface CwmParameterClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmParameterClass$Hib
public interface CwmParameterClass
- extends RefClass
Parameter class proxy interface.
Parameters are used in the specification of operations, methods and
events. A Parameter may include a name, type, and direction of
communication.
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.
createCwmParameter
CwmParameter createCwmParameter()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmParameter
CwmParameter createCwmParameter(String name,
VisibilityKind visibility,
CwmExpression defaultValue,
ParameterDirectionKind kind)
- 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.defaultValue
- An Expression whose evaluation yields a value to
be used when no argument is supplied for the Parameter.kind
- Specifies what kind of a Parameter is required.
- Returns:
- The created instance object.