|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.client.ServicesEdge org.biomoby.client.DataServiceEdge
public class DataServiceEdge
An instance of this class is a container for a pair of a data type
and a Moby service definitions, and for an information how they can
be connected. The parent class, a ServicesEdge
, connects
two services, this class connects a data type with one
service:
dataType --> targetServiceor
sourceService --> dataTypeTherefore, only one service (either source, or target one) should be defined - otherwise an instance of this class actually represents two edges (which may not be expected by those who use this class):
sourceService --> dataType --> targetServiceYou can imagine that instances of this class represent starting or ending edges in a graph of services.
ServiceConnections
Field Summary |
---|
Fields inherited from class org.biomoby.client.ServicesEdge |
---|
BOTH_COLLECTIONS_CONNECTION, HEAD_COLLECTION_CONNECTION, NO_CONNECTION, NO_OUTPUT, NS_DIVIDER, SIMPLE_CONNECTION, TAIL_COLLECTION_CONNECTION |
Constructor Summary | |
---|---|
DataServiceEdge(MobyDataType sourceDataType,
MobyService targetService,
String connector)
Constructs an instance with data type as a source and a service as a target, and a connector. |
|
DataServiceEdge(MobyService sourceService,
MobyDataType targetDataType,
String connector)
Constructs an instance with data type as a target and a service as a source, and a connector. |
Method Summary | |
---|---|
MobyDataType |
getDataType()
Retrieves the data type (regardless if it is a source or a target data type, there is always only one data type in this class). |
MobyService |
getService()
Retrieves the service from this edge. |
boolean |
isEndingEdge()
Indicate if this edge is a starting or ending edge of a graph. |
String |
toString()
|
Methods inherited from class org.biomoby.client.ServicesEdge |
---|
extractNamespace, getConnectionType, getConnector, getId, getSourceService, getTargetService, isWeakConnection, setConnectionType, setConnector, setWeakConnection |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataServiceEdge(MobyDataType sourceDataType, MobyService targetService, String connector)
public DataServiceEdge(MobyService sourceService, MobyDataType targetDataType, String connector)
Method Detail |
---|
public MobyDataType getDataType()
public MobyService getService()
public boolean isEndingEdge()
public String toString()
toString
in class ServicesEdge
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |