Interface MCommandParameter
-
- All Superinterfaces:
MApplicationElement
public interface MCommandParameter extends MApplicationElement
A representation of the model object 'Command Parameter'.This represents the format of a parameter to be used in a Command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the value of the 'Name' attribute.String
getTypeId()
Returns the value of the 'Type Id' attribute.boolean
isOptional()
Returns the value of the 'Optional' attribute.void
setName(String value)
Sets the value of the 'Name
' attribute.void
setOptional(boolean value)
Sets the value of the 'Optional
' attribute.void
setTypeId(String value)
Sets the value of the 'Type Id
' attribute.-
Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
-
-
-
-
Method Detail
-
getName
String getName()
Returns the value of the 'Name' attribute.The name of the parameter.
- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
-
setName
void setName(String value)
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
-
getTypeId
String getTypeId()
Returns the value of the 'Type Id' attribute.The type of the parameter.
- Returns:
- the value of the 'Type Id' attribute.
- See Also:
setTypeId(String)
-
setTypeId
void setTypeId(String value)
Sets the value of the 'Type Id
' attribute.- Parameters:
value
- the new value of the 'Type Id' attribute.- See Also:
getTypeId()
-
isOptional
boolean isOptional()
Returns the value of the 'Optional' attribute. The default value is"true"
.Determines whether or not this parameter is optional.
- Returns:
- the value of the 'Optional' attribute.
- See Also:
setOptional(boolean)
-
setOptional
void setOptional(boolean value)
Sets the value of the 'Optional
' attribute.- Parameters:
value
- the new value of the 'Optional' attribute.- See Also:
isOptional()
-
-