Interface Parameter
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IdentifiedElement
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ParameterImpl
public interface Parameter extends IdentifiedElement
A representation of the model object 'Parameter'. A parameter of an operationThe following features are supported:
- See Also:
DeclarationPackage.getParameter()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EClassifier
getClassifier()
Returns the value of the 'Classifier' reference.String
getClassifierName()
Returns the value of the 'Classifier Name' attribute.Operation
getOperation()
Returns the value of the 'Operation' container reference.boolean
isMain()
Returns the value of the 'Main' attribute.boolean
isMany()
Returns the value of the 'Many' attribute.boolean
isRequired()
Returns the value of the 'Required' attribute.void
setClassifier(org.eclipse.emf.ecore.EClassifier value)
Sets the value of the 'Classifier
' reference.void
setClassifierName(String value)
Sets the value of the 'Classifier Name
' attribute.void
setMain(boolean value)
Sets the value of the 'Main
' attribute.void
setMany(boolean value)
Sets the value of the 'Many
' attribute.void
setOperation(Operation value)
Sets the value of the 'Operation
' container reference.void
setRequired(boolean value)
Sets the value of the 'Required
' 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.edapt.declaration.IdentifiedElement
getDescription, getName, setDescription, setName
-
-
-
-
Method Detail
-
getOperation
Operation getOperation()
Returns the value of the 'Operation' container reference. It is bidirectional and its opposite is 'Parameters
'.If the meaning of the 'Operation' container reference isn't clear, there really should be more of a description here...
Operation to which the parameter belongs- Returns:
- the value of the 'Operation' container reference.
- See Also:
setOperation(Operation)
,DeclarationPackage.getParameter_Operation()
,Operation.getParameters()
-
setOperation
void setOperation(Operation value)
Sets the value of the 'Operation
' container reference.- Parameters:
value
- the new value of the 'Operation' container reference.- See Also:
getOperation()
-
isRequired
boolean isRequired()
Returns the value of the 'Required' attribute. The default value is"true"
. Whether the parameter is required to be set for allowing an operation to be executed- Returns:
- the value of the 'Required' attribute.
- See Also:
setRequired(boolean)
,DeclarationPackage.getParameter_Required()
-
setRequired
void setRequired(boolean value)
Sets the value of the 'Required
' attribute.- Parameters:
value
- the new value of the 'Required' attribute.- See Also:
isRequired()
-
isMain
boolean isMain()
Returns the value of the 'Main' attribute. Whether the parameter is determined by selection (at most one parameter for unambiguousness)- Returns:
- the value of the 'Main' attribute.
- See Also:
setMain(boolean)
,DeclarationPackage.getParameter_Main()
-
setMain
void setMain(boolean value)
Sets the value of the 'Main
' attribute.- Parameters:
value
- the new value of the 'Main' attribute.- See Also:
isMain()
-
isMany
boolean isMany()
Returns the value of the 'Many' attribute. Whether the type is multi-valued- Returns:
- the value of the 'Many' attribute.
- See Also:
setMany(boolean)
,DeclarationPackage.getParameter_Many()
-
setMany
void setMany(boolean value)
Sets the value of the 'Many
' attribute.- Parameters:
value
- the new value of the 'Many' attribute.- See Also:
isMany()
-
getClassifier
org.eclipse.emf.ecore.EClassifier getClassifier()
Returns the value of the 'Classifier' reference. Classifier for which the type stands (the value of this reference is derived from the type's name)- Returns:
- the value of the 'Classifier' reference.
- See Also:
setClassifier(EClassifier)
,DeclarationPackage.getParameter_Classifier()
-
setClassifier
void setClassifier(org.eclipse.emf.ecore.EClassifier value)
Sets the value of the 'Classifier
' reference.- Parameters:
value
- the new value of the 'Classifier' reference.- See Also:
getClassifier()
-
getClassifierName
String getClassifierName()
Returns the value of the 'Classifier Name' attribute. Name of the classifier for which the type stands- Returns:
- the value of the 'Classifier Name' attribute.
- See Also:
setClassifierName(String)
,DeclarationPackage.getParameter_ClassifierName()
-
setClassifierName
void setClassifierName(String value)
Sets the value of the 'Classifier Name
' attribute.- Parameters:
value
- the new value of the 'Classifier Name' attribute.- See Also:
getClassifierName()
-
-