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

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
TextEffect, TextExpression
All Known Implementing Classes:
TextEffectImpl, TextExpressionImpl, TextualCodeImpl

public interface TextualCode
extends EObject

A representation of the model object 'Textual Code'. TextualCode carries an arbitrary String. It is used as an escape to external host languages such as C or Java. A type String can be used to specify what kind of language is represented by the code String. Subclasses such as TextExpression or TextEffect (synccharts metamodel) can be used to employ it in the corresponding context.

The following features are supported:

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

Method Summary
 String getCode()
          Returns the value of the 'Code' attribute.
 String getType()
          Returns the value of the 'Type' attribute.
 void setCode(String value)
          Sets the value of the 'Code' attribute.
 void setType(String value)
          Sets the value of the 'Type' attribute.
 
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

getCode

String getCode()
Returns the value of the 'Code' attribute.

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

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

setCode

void setCode(String value)
Sets the value of the 'Code' attribute.

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

getType

String getType()
Returns the value of the 'Type' attribute.

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:
setType(String), KExpressionsPackage.getTextualCode_Type()
Generated:
This code was automatically generated.
Model element

setType

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

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