com.gomjabbar.graph
Class DefaultRelationRole
java.lang.Object
|
+--com.gomjabbar.graph.DefaultRelationRole
- All Implemented Interfaces:
- GraphRelationRole
- public class DefaultRelationRole
- extends java.lang.Object
- implements GraphRelationRole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE
public static final java.lang.String SOURCE
DESTINATION
public static final java.lang.String DESTINATION
CATALYST
public static final java.lang.String CATALYST
DefaultRelationRole
public DefaultRelationRole(java.lang.String type,
java.lang.String label)
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface GraphRelationRole
getType
public java.lang.String getType()
- Specified by:
getType
in interface GraphRelationRole
getDirection
public int getDirection()
- Specified by:
getDirection
in interface GraphRelationRole
getWeight
public int getWeight()
- Specified by:
getWeight
in interface GraphRelationRole