org.andromda.metafacades.uml
Interface ParameterFacade

All Superinterfaces:
ModelElementFacade
All Known Subinterfaces:
FrontEndParameter

public interface ParameterFacade
extends ModelElementFacade

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 String getDefaultValue()
           
 EventFacade getEvent()
           If this parameter is located on an event, this will represent that event.
 String getGetterName()
           The name to use for accessors getting this parameter from a bean.
 int getLower()
           the lower value for the multiplicity
 OperationFacade getOperation()
           If this parameter is located on an operation, this will represent that operation.
 String getSetterName()
           The name to use for accessors getting this parameter in a bean.
 ClassifierFacade getType()
           
 int getUpper()
           the upper value of the multiplicity (will be -1 for *)
 boolean isDefaultValuePresent()
           Indicates if the default value is present.
 boolean isInoutParameter()
           True if this parameter is an inout parameter.
 boolean isInParameter()
           True if this parameter is an 'in' parameter.
 boolean isOutParameter()
           True if this parameter is an 'out' parameter.
 boolean isParameterFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isReadable()
           True if this parameter is readable, aka an in-parameter, or this feature is unspecified.
 boolean isRequired()
           Whether or not this parameter is considered required (i.e must a non-empty value).
 boolean isReturn()
           Whether or not this parameter represents a return parameter.
 boolean isWritable()
           True if this parameter is writable, aka an out-parameter, or this feature is unspecified.
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isParameterFacadeMetaType

public boolean isParameterFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getDefaultValue

public String getDefaultValue()

getEvent

public EventFacade getEvent()

If this parameter is located on an event, this will represent that event.


getGetterName

public String getGetterName()

The name to use for accessors getting this parameter from a bean.


getLower

public int getLower()

the lower value for the multiplicity

-only applicable for UML2


getOperation

public OperationFacade getOperation()

If this parameter is located on an operation, this will represent that operation.


getSetterName

public String getSetterName()

The name to use for accessors getting this parameter in a bean.


getType

public ClassifierFacade getType()

getUpper

public int getUpper()

the upper value of the multiplicity (will be -1 for *)

-only applicable for UML2


isDefaultValuePresent

public boolean isDefaultValuePresent()

Indicates if the default value is present.


isInParameter

public boolean isInParameter()

True if this parameter is an 'in' parameter.


isInoutParameter

public boolean isInoutParameter()

True if this parameter is an inout parameter.


isOutParameter

public boolean isOutParameter()

True if this parameter is an 'out' parameter.


isReadable

public boolean isReadable()

True if this parameter is readable, aka an in-parameter, or this feature is unspecified.


isRequired

public boolean isRequired()

Whether or not this parameter is considered required (i.e must a non-empty value).


isReturn

public boolean isReturn()

Whether or not this parameter represents a return parameter.


isWritable

public boolean isWritable()

True if this parameter is writable, aka an out-parameter, or this feature is unspecified.



Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.