Interface Attribute
-
- 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
,Variable
public interface Attribute extends Variable
A representation of the model object 'Attribute'.The following features are supported:
- See Also:
RhapsodyPackage.getAttribute()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getMultiplicity()
Returns the value of the 'Multiplicity' attribute.VisibilityKind
getVisibility()
Returns the value of the 'Visibility' attribute.boolean
isConstant()
Returns the value of the 'Is Constant' attribute.boolean
isOrdered()
Returns the value of the 'Is Ordered' attribute.boolean
isReference()
Returns the value of the 'Is Reference' attribute.boolean
isStatic()
Returns the value of the 'Is Static' attribute.void
setIsConstant(boolean value)
Sets the value of the 'Is Constant
' attribute.void
setIsOrdered(boolean value)
Sets the value of the 'Is Ordered
' attribute.void
setIsReference(boolean value)
Sets the value of the 'Is Reference
' attribute.void
setIsStatic(boolean value)
Sets the value of the 'Is Static
' attribute.void
setMultiplicity(java.lang.String value)
Sets the value of the 'Multiplicity
' attribute.void
setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.-
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.Variable
getDeclaration, getDefaultValue, getType, setDeclaration, setDefaultValue, setType
-
-
-
-
Method Detail
-
getVisibility
VisibilityKind getVisibility()
Returns the value of the 'Visibility' attribute. The default value is""
. The literals are from the enumerationVisibilityKind
.- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind
,setVisibility(VisibilityKind)
,RhapsodyPackage.getAttribute_Visibility()
-
setVisibility
void setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,getVisibility()
-
isStatic
boolean isStatic()
Returns the value of the 'Is Static' attribute.- Returns:
- the value of the 'Is Static' attribute.
- See Also:
setIsStatic(boolean)
,RhapsodyPackage.getAttribute_IsStatic()
-
setIsStatic
void setIsStatic(boolean value)
Sets the value of the 'Is Static
' attribute.- Parameters:
value
- the new value of the 'Is Static' attribute.- See Also:
isStatic()
-
getMultiplicity
java.lang.String getMultiplicity()
Returns the value of the 'Multiplicity' attribute. The default value is""
.- Returns:
- the value of the 'Multiplicity' attribute.
- See Also:
setMultiplicity(String)
,RhapsodyPackage.getAttribute_Multiplicity()
-
setMultiplicity
void setMultiplicity(java.lang.String value)
Sets the value of the 'Multiplicity
' attribute.- Parameters:
value
- the new value of the 'Multiplicity' attribute.- See Also:
getMultiplicity()
-
isOrdered
boolean isOrdered()
Returns the value of the 'Is Ordered' attribute.- Returns:
- the value of the 'Is Ordered' attribute.
- See Also:
setIsOrdered(boolean)
,RhapsodyPackage.getAttribute_IsOrdered()
-
setIsOrdered
void setIsOrdered(boolean value)
Sets the value of the 'Is Ordered
' attribute.- Parameters:
value
- the new value of the 'Is Ordered' attribute.- See Also:
isOrdered()
-
isReference
boolean isReference()
Returns the value of the 'Is Reference' attribute.- Returns:
- the value of the 'Is Reference' attribute.
- See Also:
setIsReference(boolean)
,RhapsodyPackage.getAttribute_IsReference()
-
setIsReference
void setIsReference(boolean value)
Sets the value of the 'Is Reference
' attribute.- Parameters:
value
- the new value of the 'Is Reference' attribute.- See Also:
isReference()
-
isConstant
boolean isConstant()
Returns the value of the 'Is Constant' attribute.- Returns:
- the value of the 'Is Constant' attribute.
- See Also:
setIsConstant(boolean)
,RhapsodyPackage.getAttribute_IsConstant()
-
setIsConstant
void setIsConstant(boolean value)
Sets the value of the 'Is Constant
' attribute.- Parameters:
value
- the new value of the 'Is Constant' attribute.- See Also:
isConstant()
-
-