de.cau.cs.kieler.core.kexpressions
Interface ValuedObject

All Superinterfaces:
Annotatable, EObject, Notifier
All Known Subinterfaces:
ISignal, IVariable, Signal, Variable
All Known Implementing Classes:
ISignalImpl, IVariableImpl, SignalImpl, ValuedObjectImpl, VariableImpl

public interface ValuedObject
extends Annotatable

A representation of the model object 'Valued Object'. Base Class for Variables and Signals. A ValuedObject has a name and may carry a value. Therefore the class has a type attribute which specifies the type of the value. The type might either be given from a predefined list of internal (primitive) types or by the hostType String that references some type in the target language, e.g. a Type in C or Java. An initial value can be given in String format.

The following features are supported:

See Also:
KExpressionsPackage.getValuedObject()
Rating red
Generated:
This code was automatically generated.
Model element

Method Summary
 String getHostType()
          Returns the value of the 'Host Type' attribute.
 String getInitialValue()
          Returns the value of the 'Initial Value' attribute.
 String getName()
          Returns the value of the 'Name' attribute.
 ValueType getType()
          Returns the value of the 'Type' attribute.
 void setHostType(String value)
          Sets the value of the 'Host Type' attribute.
 void setInitialValue(String value)
          Sets the value of the 'Initial Value' attribute.
 void setName(String value)
          Sets the value of the 'Name' attribute.
 void setType(ValueType value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface de.cau.cs.kieler.core.annotations.Annotatable
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations
 
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), KExpressionsPackage.getValuedObject_Name()
Generated:
This code was automatically generated.
Model element:
required=true

setName

void setName(String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
Generated:
This code was automatically generated.

getType

ValueType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration ValueType.

If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' attribute.
See Also:
ValueType, setType(ValueType), KExpressionsPackage.getValuedObject_Type()
Generated:
This code was automatically generated.
Model element:
required=true

setType

void setType(ValueType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
ValueType, getType()
Generated:
This code was automatically generated.

getInitialValue

String getInitialValue()
Returns the value of the 'Initial Value' attribute.

If the meaning of the 'Initial Value' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Initial Value' attribute.
See Also:
setInitialValue(String), KExpressionsPackage.getValuedObject_InitialValue()
Generated:
This code was automatically generated.
Model element

setInitialValue

void setInitialValue(String value)
Sets the value of the 'Initial Value' attribute.

Parameters:
value - the new value of the 'Initial Value' attribute.
See Also:
getInitialValue()
Generated:
This code was automatically generated.

getHostType

String getHostType()
Returns the value of the 'Host Type' attribute.

If the meaning of the 'Host Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Host Type' attribute.
See Also:
setHostType(String), KExpressionsPackage.getValuedObject_HostType()
Generated:
This code was automatically generated.
Model element

setHostType

void setHostType(String value)
Sets the value of the 'Host Type' attribute.

Parameters:
value - the new value of the 'Host Type' attribute.
See Also:
getHostType()
Generated:
This code was automatically generated.