public interface MCommandParameter extends MApplicationElement
This represents the format of a parameter to be used in a Command.
Modifier and Type | Method and 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 |
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
String getName()
The name of the parameter.
setName(String)
void setName(String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
String getTypeId()
The type of the parameter.
setTypeId(String)
void setTypeId(String value)
Type Id
' attribute.
value
- the new value of the 'Type Id' attribute.getTypeId()
boolean isOptional()
"true"
.
Determines whether or not this parameter is optional.
setOptional(boolean)
void setOptional(boolean value)
Optional
' attribute.
value
- the new value of the 'Optional' attribute.isOptional()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.