Class ASTChange

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrulegeneration._ast.ASTChange
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTODRuleGenerationNode, Cloneable

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

    • objectGetter

      protected String objectGetter
    • valueGetter

      protected Optional<String> valueGetter
    • oldValueGetter

      protected Optional<String> oldValueGetter
    • type

      protected String type
    • objectType

      protected Optional<String> objectType
    • objectName

      protected String objectName
    • attributeName

      protected String attributeName
    • value

      protected Optional<String> value
    • oldValue

      protected Optional<String> oldValue
    • getter

      protected String getter
    • getIsPresent

      protected Optional<String> getIsPresent
    • setter

      protected String setter
    • unsetter

      protected String unsetter
    • simpleType

      protected String simpleType
    • boxingType

      protected Optional<String> boxingType
    • valueType

      protected String valueType
    • insertPosition

      protected Optional<String> insertPosition
    • genericType

      protected String genericType
    • objectWithinOpt

      protected boolean objectWithinOpt
    • objectWithinList

      protected boolean objectWithinList
    • valueWithinOpt

      protected boolean valueWithinOpt
    • valueWithinList

      protected boolean valueWithinList
    • oldValueWithinOpt

      protected boolean oldValueWithinOpt
    • oldValueWithinList

      protected boolean oldValueWithinList
    • primitiveType

      protected boolean primitiveType
    • attributeIterated

      protected boolean attributeIterated
    • attributeOptional

      protected boolean attributeOptional
    • copy

      protected boolean copy
    • objectInList

      protected boolean objectInList
    • valueStringList

      protected boolean valueStringList
    • valueListObject

      protected boolean valueListObject
    • composite

      protected boolean composite
    • enclosingScope

      protected IODRuleGenerationScope enclosingScope
  • Constructor Details

    • ASTChange

      protected ASTChange()
  • 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 ASTChange deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTChange deepClone(ASTChange result)
    • getObjectGetter

      public String getObjectGetter()
    • getValueGetter

      public String getValueGetter()
    • isPresentValueGetter

      public boolean isPresentValueGetter()
    • getOldValueGetter

      public String getOldValueGetter()
    • isPresentOldValueGetter

      public boolean isPresentOldValueGetter()
    • getType

      public String getType()
    • getObjectType

      public String getObjectType()
    • isPresentObjectType

      public boolean isPresentObjectType()
    • getObjectName

      public String getObjectName()
    • getAttributeName

      public String getAttributeName()
    • getValue

      public String getValue()
    • isPresentValue

      public boolean isPresentValue()
    • getOldValue

      public String getOldValue()
    • isPresentOldValue

      public boolean isPresentOldValue()
    • getGetter

      public String getGetter()
    • getGetIsPresent

      public String getGetIsPresent()
    • isPresentGetIsPresent

      public boolean isPresentGetIsPresent()
    • getSetter

      public String getSetter()
    • getUnsetter

      public String getUnsetter()
    • getSimpleType

      public String getSimpleType()
    • getBoxingType

      public String getBoxingType()
    • isPresentBoxingType

      public boolean isPresentBoxingType()
    • getValueType

      public String getValueType()
    • getInsertPosition

      public String getInsertPosition()
    • isPresentInsertPosition

      public boolean isPresentInsertPosition()
    • getGenericType

      public String getGenericType()
    • isObjectWithinOpt

      public boolean isObjectWithinOpt()
    • isObjectWithinList

      public boolean isObjectWithinList()
    • isValueWithinOpt

      public boolean isValueWithinOpt()
    • isValueWithinList

      public boolean isValueWithinList()
    • isOldValueWithinOpt

      public boolean isOldValueWithinOpt()
    • isOldValueWithinList

      public boolean isOldValueWithinList()
    • isPrimitiveType

      public boolean isPrimitiveType()
    • isAttributeIterated

      public boolean isAttributeIterated()
    • isAttributeOptional

      public boolean isAttributeOptional()
    • isCopy

      public boolean isCopy()
    • isObjectInList

      public boolean isObjectInList()
    • isValueStringList

      public boolean isValueStringList()
    • isValueListObject

      public boolean isValueListObject()
    • isComposite

      public boolean isComposite()
    • setObjectGetter

      public void setObjectGetter(String objectGetter)
    • setValueGetter

      public void setValueGetter(String valueGetter)
    • setValueGetterAbsent

      public void setValueGetterAbsent()
    • setOldValueGetter

      public void setOldValueGetter(String oldValueGetter)
    • setOldValueGetterAbsent

      public void setOldValueGetterAbsent()
    • setType

      public void setType(String type)
    • setObjectType

      public void setObjectType(String objectType)
    • setObjectTypeAbsent

      public void setObjectTypeAbsent()
    • setObjectName

      public void setObjectName(String objectName)
    • setAttributeName

      public void setAttributeName(String attributeName)
    • setValue

      public void setValue(String value)
    • setValueAbsent

      public void setValueAbsent()
    • setOldValue

      public void setOldValue(String oldValue)
    • setOldValueAbsent

      public void setOldValueAbsent()
    • setGetter

      public void setGetter(String getter)
    • setGetIsPresent

      public void setGetIsPresent(String getIsPresent)
    • setGetIsPresentAbsent

      public void setGetIsPresentAbsent()
    • setSetter

      public void setSetter(String setter)
    • setUnsetter

      public void setUnsetter(String unsetter)
    • setSimpleType

      public void setSimpleType(String simpleType)
    • setBoxingType

      public void setBoxingType(String boxingType)
    • setBoxingTypeAbsent

      public void setBoxingTypeAbsent()
    • setValueType

      public void setValueType(String valueType)
    • setInsertPosition

      public void setInsertPosition(String insertPosition)
    • setInsertPositionAbsent

      public void setInsertPositionAbsent()
    • setGenericType

      public void setGenericType(String genericType)
    • setObjectWithinOpt

      public void setObjectWithinOpt(boolean objectWithinOpt)
    • setObjectWithinList

      public void setObjectWithinList(boolean objectWithinList)
    • setValueWithinOpt

      public void setValueWithinOpt(boolean valueWithinOpt)
    • setValueWithinList

      public void setValueWithinList(boolean valueWithinList)
    • setOldValueWithinOpt

      public void setOldValueWithinOpt(boolean oldValueWithinOpt)
    • setOldValueWithinList

      public void setOldValueWithinList(boolean oldValueWithinList)
    • setPrimitiveType

      public void setPrimitiveType(boolean primitiveType)
    • setAttributeIterated

      public void setAttributeIterated(boolean attributeIterated)
    • setAttributeOptional

      public void setAttributeOptional(boolean attributeOptional)
    • setCopy

      public void setCopy(boolean copy)
    • setObjectInList

      public void setObjectInList(boolean objectInList)
    • setValueStringList

      public void setValueStringList(boolean valueStringList)
    • setValueListObject

      public void setValueListObject(boolean valueListObject)
    • setComposite

      public void setComposite(boolean composite)
    • 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 ASTChange _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)