aminePlatform.kernel.ontology
Class Link
java.lang.Object
aminePlatform.kernel.ontology.Link
- All Implemented Interfaces:
- Edge, java.io.Serializable
- public class Link
- extends java.lang.Object
- implements Edge
Title : Link Class
Description : Link implements Edge interface and represents the relation
between two CSs in an Ontology.
Copyright: Copyright (c) Adil KABBAJ, 2004-2009
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
CS source
target
CS target
segmentPoints
java.util.ArrayList segmentPoints
posRelNameOnSegments
java.awt.Point posRelNameOnSegments
S_REL_SPEC
public static final java.lang.String S_REL_SPEC
- See Also:
- Constant Field Values
S_REL_IND
public static final java.lang.String S_REL_IND
- See Also:
- Constant Field Values
S_REL_USED_IN
public static final java.lang.String S_REL_USED_IN
- See Also:
- Constant Field Values
S_REL_CTXT
public static final java.lang.String S_REL_CTXT
- See Also:
- Constant Field Values
fontTxtFld
public static final java.awt.Font fontTxtFld
static_link
static Link static_link
Link
public Link()
Link
public Link(CS source,
CS target)
equals
public boolean equals(java.lang.Object obj)
wrap
public static Link wrap(CS source,
CS target)
getName
public java.lang.String getName(Lexicon lexicon)
- Specified by:
getName
in interface Edge
setName
public void setName(java.lang.String name,
Lexicon lexicon)
throws java.lang.Exception
- Specified by:
setName
in interface Edge
- Throws:
java.lang.Exception
getArraySegmentPoints
public java.util.ArrayList getArraySegmentPoints(Lexicon lexicon)
- Specified by:
getArraySegmentPoints
in interface Edge
createArraySegmentPoints
public java.util.ArrayList createArraySegmentPoints(java.lang.Object g,
Lexicon lexicon)
- Specified by:
createArraySegmentPoints
in interface Edge
setSegmentPoints
public boolean setSegmentPoints(java.util.ArrayList points)
- Specified by:
setSegmentPoints
in interface Edge
getSourceNode
public java.lang.Object getSourceNode()
- Specified by:
getSourceNode
in interface Edge
setSourceNode
public void setSourceNode(Node node)
- Specified by:
setSourceNode
in interface Edge
getTargetNode
public java.lang.Object getTargetNode()
- Specified by:
getTargetNode
in interface Edge
setTargetNode
public void setTargetNode(Node node)
- Specified by:
setTargetNode
in interface Edge
getPosEdgeNameOnSegments
public java.awt.Point getPosEdgeNameOnSegments(Lexicon lexicon)
- Specified by:
getPosEdgeNameOnSegments
in interface Edge
createPosEdgeNameOnSegments
public java.awt.Point createPosEdgeNameOnSegments(java.lang.Object g,
Lexicon lexicon)
- Specified by:
createPosEdgeNameOnSegments
in interface Edge
setPosEdgeNameOnSegments
public void setPosEdgeNameOnSegments(java.awt.Point pos)
- Specified by:
setPosEdgeNameOnSegments
in interface Edge
copyEdge
public Edge copyEdge()
- Specified by:
copyEdge
in interface Edge