Class ASTODLink

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrules._ast.ASTODLinkTOP
de.monticore.tf.odrules._ast.ASTODLink
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTODRulesNode, Cloneable

public class ASTODLink extends ASTODLinkTOP
  • Constructor Details

  • Method Details

    • isLink

      public boolean isLink()
      Overrides:
      isLink in class ASTODLinkTOP
    • hasStereotype

      public boolean hasStereotype(String name)
    • hasStereotype

      public boolean hasStereotype(String name, String value)
    • getStereotypeValue

      public String getStereotypeValue(String name)
    • printName

      public String printName()
    • printLeftRole

      public String printLeftRole()
      Returns the left role of the according association of this link. Default is the name of the association if leftRole is not set. In case the association is unnamed the type-name of the left reference (in lower-case) is used instead.
      Returns:
      left role as String
    • printRightRole

      public String printRightRole()
    • isAttributeIterated

      public boolean isAttributeIterated()
    • isAttributeOptional

      public boolean isAttributeOptional()