- java.lang.Object
-
- org.mal_lang.lib.Position
-
- org.mal_lang.lib.AST.Association
-
- All Implemented Interfaces:
Comparable<Position>
- Enclosing class:
- AST
public static class AST.Association extends Position
-
-
Constructor Summary
Constructors Constructor Description Association(Position pos, AST.ID leftAsset, AST.ID leftField, AST.Multiplicity leftMult, AST.ID linkName, AST.Multiplicity rightMult, AST.ID rightField, AST.ID rightAsset, List<AST.Meta> meta)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
listToString(List<AST.Association> associations, int spaces)
String
toShortString()
String
toString(int spaces)
-
-
-
Field Detail
-
leftAsset
public final AST.ID leftAsset
-
leftField
public final AST.ID leftField
-
leftMult
public final AST.Multiplicity leftMult
-
linkName
public final AST.ID linkName
-
rightMult
public final AST.Multiplicity rightMult
-
rightField
public final AST.ID rightField
-
rightAsset
public final AST.ID rightAsset
-
-
Constructor Detail
-
Association
public Association(Position pos, AST.ID leftAsset, AST.ID leftField, AST.Multiplicity leftMult, AST.ID linkName, AST.Multiplicity rightMult, AST.ID rightField, AST.ID rightAsset, List<AST.Meta> meta)
-
-
Method Detail
-
toString
public String toString(int spaces)
-
toShortString
public String toShortString()
-
listToString
public static String listToString(List<AST.Association> associations, int spaces)
-
-