Package fr.inria.atlanmod.mogwai.gremlin
Interface TernaryOperator
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Expression,Instruction,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TernaryOperatorImpl
public interface TernaryOperator extends Expression
A representation of the model object 'Ternary Operator'.
The following features are supported:
- See Also:
GremlinPackage.getTernaryOperator()
-
Method Summary
Modifier and Type Method Description InstructiongetCondition()Returns the value of the 'Condition' containment reference.InstructiongetIfFalse()Returns the value of the 'If False' containment reference.InstructiongetIfTrue()Returns the value of the 'If True' containment reference.voidsetCondition(Instruction value)Sets the value of the 'Condition' containment reference.voidsetIfFalse(Instruction value)Sets the value of the 'If False' containment reference.voidsetIfTrue(Instruction value)Sets the value of the 'If True' containment reference.StringtoString()Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCondition
Instruction getCondition()Returns the value of the 'Condition' containment reference.- Returns:
- the value of the 'Condition' containment reference.
- See Also:
setCondition(Instruction),GremlinPackage.getTernaryOperator_Condition()
-
setCondition
Sets the value of the 'Condition' containment reference.- Parameters:
value- the new value of the 'Condition' containment reference.- See Also:
getCondition()
-
getIfTrue
Instruction getIfTrue()Returns the value of the 'If True' containment reference.- Returns:
- the value of the 'If True' containment reference.
- See Also:
setIfTrue(Instruction),GremlinPackage.getTernaryOperator_IfTrue()
-
setIfTrue
Sets the value of the 'If True' containment reference.- Parameters:
value- the new value of the 'If True' containment reference.- See Also:
getIfTrue()
-
getIfFalse
Instruction getIfFalse()Returns the value of the 'If False' containment reference.- Returns:
- the value of the 'If False' containment reference.
- See Also:
setIfFalse(Instruction),GremlinPackage.getTernaryOperator_IfFalse()
-
setIfFalse
Sets the value of the 'If False' containment reference.- Parameters:
value- the new value of the 'If False' containment reference.- See Also:
getIfFalse()
-
toString
String toString()
-