org.topbraidcomposer.sparql.diagram
Class SPARQLNodeType

java.lang.Object
  extended by org.topbraidcomposer.sparql.diagram.SPARQLNodeType
All Implemented Interfaces:
ICustomNodeType

public class SPARQLNodeType
extends java.lang.Object
implements ICustomNodeType


Constructor Summary
SPARQLNodeType()
           
 
Method Summary
 java.util.Set getSourceCustomNodeModels(ClassEditPart editPart)
          Gets a Set of CustomNodeModels that have an outgoing edge from a given ClassEditPart.
 java.util.Set getTargetCustomNodeModels(ClassEditPart editPart)
          Gets a Set of CustomNodeModels that have an incoming edge from a given ClassEditPart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPARQLNodeType

public SPARQLNodeType()
Method Detail

getSourceCustomNodeModels

public java.util.Set getSourceCustomNodeModels(ClassEditPart editPart)
Description copied from interface: ICustomNodeType
Gets a Set of CustomNodeModels that have an outgoing edge from a given ClassEditPart. For example, if this node type implements SPARQL queries, then this could return all queries that have the given class or one of its properties in their CONSTRUCT clause.

Specified by:
getSourceCustomNodeModels in interface ICustomNodeType
Parameters:
editPart - the source EditPart
Returns:
a Set of new CustomNodeModels

getTargetCustomNodeModels

public java.util.Set getTargetCustomNodeModels(ClassEditPart editPart)
Description copied from interface: ICustomNodeType
Gets a Set of CustomNodeModels that have an incoming edge from a given ClassEditPart. For example, if this node type implements SPARQL queries, then this could return all queries that have the given class or one of its properties in their WHERE clause.

Specified by:
getTargetCustomNodeModels in interface ICustomNodeType
Parameters:
editPart - the source EditPart
Returns:
a Set of new CustomNodeModels