Class ASTCondition

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrulegeneration._ast.ASTCondition
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTODRuleGenerationNode, Cloneable
Direct Known Subclasses:
ASTLinkCondition, ASTObjectCondition

public class ASTCondition extends de.monticore.ast.ASTCNode implements ASTODRuleGenerationNode
  • Field Details

  • Constructor Details

    • ASTCondition

      protected ASTCondition()
  • Method Details

    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEquals

      public boolean deepEquals(Object o, boolean forceSameOrder)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o, boolean forceSameOrder)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • equalAttributes

      public boolean equalAttributes(Object o)
      Specified by:
      equalAttributes in interface de.monticore.ast.ASTNode
    • equalsWithComments

      public boolean equalsWithComments(Object o)
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTCondition deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTCondition deepClone(ASTCondition result)
    • isTargetOptional

      public boolean isTargetOptional()
    • getAttribute

      public ASTODAttribute getAttribute()
    • getLink

      public ASTODLink getLink()
    • getTarget

      public ASTODObject getTarget()
    • isPresentTarget

      public boolean isPresentTarget()
    • getObjectName

      public String getObjectName()
    • getConditionString

      public String getConditionString()
    • getDependency

      public ASTDependency getDependency()
    • isPresentDependency

      public boolean isPresentDependency()
    • setTargetOptional

      public void setTargetOptional(boolean targetOptional)
    • setAttribute

      public void setAttribute(ASTODAttribute attribute)
    • setLink

      public void setLink(ASTODLink link)
    • setTarget

      public void setTarget(ASTODObject target)
    • setTargetAbsent

      public void setTargetAbsent()
    • setObjectName

      public void setObjectName(String objectName)
    • setConditionString

      public void setConditionString(String conditionString)
    • setDependency

      public void setDependency(ASTDependency dependency)
    • setDependencyAbsent

      public void setDependencyAbsent()
    • accept

      public void accept(ODRuleGenerationTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTODRuleGenerationNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCFullGenericTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCSimpleGenericTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCollectionTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(de.monticore.visitor.ITraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface de.monticore.ast.ASTNode
      Parameters:
      visitor - the visitor to dispatch to
    • _construct

      protected ASTCondition _construct()
    • getEnclosingScope

      public IODRuleGenerationScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      public void setEnclosingScope(IODRuleGenerationScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)