java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.Relation

public class Relation
extends Object
  • Constructor Details

  • Method Details

    • getTypeDescription

      public static String getTypeDescription​(boolean html)
    • getRelationFromKgmlRelationElement

      public static Relation getRelationFromKgmlRelationElement​(org.jdom2.Element relationElement, Collection<Entry> entryElements, String clusterIdForHiddenCompounds)
    • getKgmlRelationElement

      public org.jdom2.Element getKgmlRelationElement()
    • getDesiredNodeCombinations

      public Collection<NodeCombination> getDesiredNodeCombinations​(HashMap<Entry,​Node> entry2graphNode, Collection<Entry> entries)
    • getType

      public RelationType getType()
    • setType

      public void setType​(RelationType type)
    • processEdgeRelationInformation

      public static void processEdgeRelationInformation​(Edge e, ArrayList<Relation> relationsRequestingThisNodeCombination)
    • isDirectedRelationDefinedBySubtypes

      public boolean isDirectedRelationDefinedBySubtypes()
    • getSubtypes

      public ArrayList<SubtypeName> getSubtypes()
    • addSubtypeName

      public void addSubtypeName​(SubtypeName stn)
    • removeSubtypeName

      public void removeSubtypeName​(SubtypeName stn)
    • hasSubtypeName

      public boolean hasSubtypeName​(SubtypeName stn)
    • getSubtypeRefs

      public ArrayList<IdRef> getSubtypeRefs()
    • addSubtypeRef

      public void addSubtypeRef​(Entry e)
    • removeSubtypeRef

      public void removeSubtypeRef​(Entry e)
    • getRelationElementsFromGraph

      public static Collection<Relation> getRelationElementsFromGraph​(Collection<Entry> entries, Graph graph, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringWithKeggIDs

      public String toStringWithKeggIDs()
    • toStringWithKeggNames

      public String toStringWithKeggNames()
    • toStringWithShortDesc

      public String toStringWithShortDesc​(boolean showLabels)
    • getSourceID

      public String getSourceID()
    • getTargetID

      public String getTargetID()
    • getSourceEntry

      public Entry getSourceEntry()
    • getTargetEntry

      public Entry getTargetEntry()
    • setSourceEntry

      public void setSourceEntry​(Entry e)
    • setTargetEntry

      public void setTargetEntry​(Entry e)
    • getCSVline

      public String getCSVline()
    • removeSubtypes

      public void removeSubtypes()