public class CommandParameterImpl extends ApplicationElementImpl implements MCommandParameter
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
The cached value of the '
Name' attribute |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the '
Name' attribute |
protected boolean |
optional
The cached value of the '
Optional' attribute |
protected static boolean |
OPTIONAL_EDEFAULT
The default value of the '
Optional' attribute |
protected static java.lang.String |
TYPE_ID_EDEFAULT
The default value of the '
Type Id' attribute |
protected java.lang.String |
typeId
The cached value of the '
Type Id' attribute |
CONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientData| Modifier | Constructor and Description |
|---|---|
protected |
CommandParameterImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getName() |
java.lang.String |
getTypeId() |
boolean |
isOptional() |
void |
setName(java.lang.String newName) |
void |
setOptional(boolean newOptional) |
void |
setTypeId(java.lang.String newTypeId) |
java.lang.String |
toString() |
eInverseRemove, getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdprotected static final java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected static final java.lang.String TYPE_ID_EDEFAULT
Type Id' attribute.
getTypeId()protected java.lang.String typeId
Type Id' attribute.
getTypeId()protected static final boolean OPTIONAL_EDEFAULT
Optional' attribute.
isOptional(),
Constant Field Valuesprotected boolean optional
Optional' attribute.
isOptional()protected EClass eStaticClass()
eStaticClass in class ApplicationElementImplpublic java.lang.String getName()
getName in interface MCommandParameterMCommandParameter.setName(String)public void setName(java.lang.String newName)
setName in interface MCommandParameternewName - the new value of the 'Name' attribute.MCommandParameter.getName()public java.lang.String getTypeId()
getTypeId in interface MCommandParameterMCommandParameter.setTypeId(String)public void setTypeId(java.lang.String newTypeId)
setTypeId in interface MCommandParameternewTypeId - the new value of the 'Type Id' attribute.MCommandParameter.getTypeId()public boolean isOptional()
isOptional in interface MCommandParameterMCommandParameter.setOptional(boolean)public void setOptional(boolean newOptional)
setOptional in interface MCommandParameternewOptional - the new value of the 'Optional' attribute.MCommandParameter.isOptional()public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class ApplicationElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class ApplicationElementImplpublic void eUnset(int featureID)
eUnset in class ApplicationElementImplpublic boolean eIsSet(int featureID)
eIsSet in class ApplicationElementImplpublic java.lang.String toString()
toString in class ApplicationElementImpl