Interface Variable
-
- All Superinterfaces:
java.lang.Comparable<java.lang.Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,ModelElement
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
Argument
,Attribute
,Tag
,TemplateParameter
public interface Variable extends ModelElement
A representation of the model object 'Variable'.The following features are supported:
- See Also:
RhapsodyPackage.getVariable()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDeclaration()
Returns the value of the 'Declaration' attribute.java.lang.String
getDefaultValue()
Returns the value of the 'Default Value' attribute.Classifier
getType()
Returns the value of the 'Type' reference.void
setDeclaration(java.lang.String value)
Sets the value of the 'Declaration
' attribute.void
setDefaultValue(java.lang.String value)
Sets the value of the 'Default Value
' attribute.void
setType(Classifier value)
Sets the value of the 'Type
' reference.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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 com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.ModelElement
getAllTags, getAnnotations, getConstraints, getConstraintsByHim, getControlledFiles, getDependencies, getDescription, getDescriptionHTML, getDescriptionRTF, getDisplayName, getFullPathName, getGUID, getHyperLinks, getInterfaceName, getLocalTags, getMainDiagram, getMetaClass, getName, getOfTemplate, getOwnedDependencies, getOwner, getProject, getProperties, getProperty, getReferences, getStereotype, getStereotypes, getTemplateParameters, getTi, getUserDefinedMetaClass, isATemplate, isExternal, isRequirementTraceabilityHandle, isShowDisplayName, isUnresolved, setDescription, setDescriptionHTML, setDescriptionRTF, setDisplayName, setFullPathName, setGUID, setInterfaceName, setIsATemplate, setIsExternal, setIsShowDisplayName, setIsUnresolved, setMainDiagram, setMetaClass, setName, setOfTemplate, setOwner, setProject, setRequirementTraceabilityHandle, setStereotype, setTi, setUserDefinedMetaClass
-
-
-
-
Method Detail
-
getDeclaration
java.lang.String getDeclaration()
Returns the value of the 'Declaration' attribute. The default value is""
.- Returns:
- the value of the 'Declaration' attribute.
- See Also:
setDeclaration(String)
,RhapsodyPackage.getVariable_Declaration()
-
setDeclaration
void setDeclaration(java.lang.String value)
Sets the value of the 'Declaration
' attribute.- Parameters:
value
- the new value of the 'Declaration' attribute.- See Also:
getDeclaration()
-
getDefaultValue
java.lang.String getDefaultValue()
Returns the value of the 'Default Value' attribute. The default value is""
.- Returns:
- the value of the 'Default Value' attribute.
- See Also:
setDefaultValue(String)
,RhapsodyPackage.getVariable_DefaultValue()
-
setDefaultValue
void setDefaultValue(java.lang.String value)
Sets the value of the 'Default Value
' attribute.- Parameters:
value
- the new value of the 'Default Value' attribute.- See Also:
getDefaultValue()
-
getType
Classifier getType()
Returns the value of the 'Type' reference.- Returns:
- the value of the 'Type' reference.
- See Also:
setType(Classifier)
,RhapsodyPackage.getVariable_Type()
-
setType
void setType(Classifier value)
Sets the value of the 'Type
' reference.- Parameters:
value
- the new value of the 'Type' reference.- See Also:
getType()
-
-