|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParameterDefinition
Top-level parameter definition; may be input and/or output mode. Parameter may be of scalar or complex type.
The following features are supported:
DesignPackage.getParameterDefinition()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Method Summary | |
|---|---|
void |
addDefaultValue(java.lang.Object aValue)
A convenience method to append a default value to this parameter's default value collection. |
DataElementAttributes |
getAttributes()
Returns the value of the 'Attributes' containment reference. |
java.lang.String |
getDefaultScalarValue()
A convenience method to return this parameter's default input value in String. |
int |
getDefaultValueCount()
A convenience method to get the number of default values specified for this parameter. |
StaticValues |
getDefaultValues()
A convenience method to return this parameter's collection of default input values. |
InputElementAttributes |
getEditableInputElementAttributes()
A short-cut method that returns the value of the 'Element Attributes' containment referenced by the 'Input Attributes' containment reference. |
ParameterFields |
getFields()
Returns the value of the 'Fields' containment reference. |
ParameterMode |
getInOutMode()
Returns the value of the 'In Out Mode' attribute. |
InputParameterAttributes |
getInputAttributes()
Returns the value of the 'Input Attributes' containment reference. |
OutputElementAttributes |
getOutputUsageHints()
Returns the value of the 'Output Usage Hints' containment reference. |
boolean |
isInput()
Indicates whether this parameter is defined to take input value. |
boolean |
isOutput()
Indicates whether this parameter is defined to have output value. |
boolean |
isScalar()
Indicates whether this is a scalar parameter. |
boolean |
isSetInOutMode()
Returns whether the value of the ' In Out Mode' attribute is set. |
void |
setAttributes(DataElementAttributes value)
Sets the value of the ' Attributes' containment reference. |
void |
setDefaultScalarValue(java.lang.String value)
A convenience method to set this parameter's default input value in String. |
void |
setFields(ParameterFields value)
Sets the value of the ' Fields' containment reference. |
void |
setInOutMode(ParameterMode value)
Sets the value of the ' In Out Mode' attribute. |
void |
setInputAttributes(InputParameterAttributes value)
Sets the value of the ' Input Attributes' containment reference. |
void |
setOutputUsageHints(OutputElementAttributes value)
Sets the value of the ' Output Usage Hints' containment reference. |
void |
unsetInOutMode()
Unsets the value of the ' In Out Mode' attribute. |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
boolean isInput()
getInOutMode()boolean isOutput()
getInOutMode()boolean isScalar()
getFields()java.lang.String getDefaultScalarValue()
setDefaultScalarValue(String),
DesignPackage.getInputElementAttributes_DefaultScalarValue()void setDefaultScalarValue(java.lang.String value)
value - the new value of the parameter InputElementAttributes 'Default Scalar Value' attribute.getDefaultScalarValue(),
DesignPackage.getInputElementAttributes_DefaultScalarValue()StaticValues getDefaultValues()
int getDefaultValueCount()
void addDefaultValue(java.lang.Object aValue)
aValue - the default value to add; may be nullParameterMode getInOutMode()
"In".
The literals are from the enumeration ParameterMode.
ParameterMode,
isSetInOutMode(),
unsetInOutMode(),
setInOutMode(ParameterMode),
DesignPackage.getParameterDefinition_InOutMode()void setInOutMode(ParameterMode value)
In Out Mode' attribute.
value - the new value of the 'In Out Mode' attribute.ParameterMode,
isSetInOutMode(),
unsetInOutMode(),
getInOutMode()void unsetInOutMode()
In Out Mode' attribute.
isSetInOutMode(),
getInOutMode(),
setInOutMode(ParameterMode)boolean isSetInOutMode()
In Out Mode' attribute is set.
unsetInOutMode(),
getInOutMode(),
setInOutMode(ParameterMode)DataElementAttributes getAttributes()
setAttributes(DataElementAttributes),
DesignPackage.getParameterDefinition_Attributes()void setAttributes(DataElementAttributes value)
Attributes' containment reference.
value - the new value of the 'Attributes' containment reference.getAttributes()InputParameterAttributes getInputAttributes()
setInputAttributes(InputParameterAttributes),
DesignPackage.getParameterDefinition_InputAttributes()InputElementAttributes getEditableInputElementAttributes()
getInputAttributes()void setInputAttributes(InputParameterAttributes value)
Input Attributes' containment reference.
value - the new value of the 'Input Attributes' containment reference.getInputAttributes()OutputElementAttributes getOutputUsageHints()
setOutputUsageHints(OutputElementAttributes),
DesignPackage.getParameterDefinition_OutputUsageHints()void setOutputUsageHints(OutputElementAttributes value)
Output Usage Hints' containment reference.
value - the new value of the 'Output Usage Hints' containment reference.getOutputUsageHints()ParameterFields getFields()
setFields(ParameterFields),
DesignPackage.getParameterDefinition_Fields()void setFields(ParameterFields value)
Fields' containment reference.
value - the new value of the 'Fields' containment reference.getFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||