Package ca.ubc.stat.blang.blangDsl
Interface BlangModel
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
BlangModelImpl
public interface BlangModel
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Blang Model'.
The following features are supported:
- See Also:
BlangDslPackage.getBlangModel()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>
getAnnotations()
Returns the value of the 'Annotations' containment reference list.org.eclipse.xtext.xbase.XExpression
getGenerationAlgorithm()
Returns the value of the 'Generation Algorithm' containment reference.java.lang.String
getGenerationRandom()
Returns the value of the 'Generation Random' attribute.org.eclipse.xtext.xtype.XImportSection
getImportSection()
Returns the value of the 'Import Section' containment reference.org.eclipse.emf.common.util.EList<LawNode>
getLawNodes()
Returns the value of the 'Law Nodes' containment reference list.java.lang.String
getName()
Returns the value of the 'Name' attribute.java.lang.String
getPackage()
Returns the value of the 'Package' attribute.org.eclipse.emf.common.util.EList<VariableDeclaration>
getVariableDeclarations()
Returns the value of the 'Variable Declarations' containment reference list.void
setGenerationAlgorithm(org.eclipse.xtext.xbase.XExpression value)
Sets the value of the 'Generation Algorithm
' containment reference.void
setGenerationRandom(java.lang.String value)
Sets the value of the 'Generation Random
' attribute.void
setImportSection(org.eclipse.xtext.xtype.XImportSection value)
Sets the value of the 'Import Section
' containment reference.void
setName(java.lang.String value)
Sets the value of the 'Name
' attribute.void
setPackage(java.lang.String value)
Sets the value of the 'Package
' 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 Details
-
getPackage
java.lang.String getPackage()Returns the value of the 'Package' attribute.- Returns:
- the value of the 'Package' attribute.
- See Also:
setPackage(String)
,BlangDslPackage.getBlangModel_Package()
-
setPackage
void setPackage(java.lang.String value)Sets the value of the 'Package
' attribute.- Parameters:
value
- the new value of the 'Package' attribute.- See Also:
getPackage()
-
getImportSection
org.eclipse.xtext.xtype.XImportSection getImportSection()Returns the value of the 'Import Section' containment reference.- Returns:
- the value of the 'Import Section' containment reference.
- See Also:
setImportSection(XImportSection)
,BlangDslPackage.getBlangModel_ImportSection()
-
setImportSection
void setImportSection(org.eclipse.xtext.xtype.XImportSection value)Sets the value of the 'Import Section
' containment reference.- Parameters:
value
- the new value of the 'Import Section' containment reference.- See Also:
getImportSection()
-
getAnnotations
org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> getAnnotations()Returns the value of the 'Annotations' containment reference list. The list contents are of typeXAnnotation
.- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
BlangDslPackage.getBlangModel_Annotations()
-
getName
java.lang.String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,BlangDslPackage.getBlangModel_Name()
-
setName
void setName(java.lang.String value)Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
-
getVariableDeclarations
org.eclipse.emf.common.util.EList<VariableDeclaration> getVariableDeclarations()Returns the value of the 'Variable Declarations' containment reference list. The list contents are of typeVariableDeclaration
.- Returns:
- the value of the 'Variable Declarations' containment reference list.
- See Also:
BlangDslPackage.getBlangModel_VariableDeclarations()
-
getLawNodes
org.eclipse.emf.common.util.EList<LawNode> getLawNodes()Returns the value of the 'Law Nodes' containment reference list. The list contents are of typeLawNode
.- Returns:
- the value of the 'Law Nodes' containment reference list.
- See Also:
BlangDslPackage.getBlangModel_LawNodes()
-
getGenerationRandom
java.lang.String getGenerationRandom()Returns the value of the 'Generation Random' attribute.- Returns:
- the value of the 'Generation Random' attribute.
- See Also:
setGenerationRandom(String)
,BlangDslPackage.getBlangModel_GenerationRandom()
-
setGenerationRandom
void setGenerationRandom(java.lang.String value)Sets the value of the 'Generation Random
' attribute.- Parameters:
value
- the new value of the 'Generation Random' attribute.- See Also:
getGenerationRandom()
-
getGenerationAlgorithm
org.eclipse.xtext.xbase.XExpression getGenerationAlgorithm()Returns the value of the 'Generation Algorithm' containment reference.- Returns:
- the value of the 'Generation Algorithm' containment reference.
- See Also:
setGenerationAlgorithm(XExpression)
,BlangDslPackage.getBlangModel_GenerationAlgorithm()
-
setGenerationAlgorithm
void setGenerationAlgorithm(org.eclipse.xtext.xbase.XExpression value)Sets the value of the 'Generation Algorithm
' containment reference.- Parameters:
value
- the new value of the 'Generation Algorithm' containment reference.- See Also:
getGenerationAlgorithm()
-