com.sodius.mdw.core.eval.debug
Interface ConnectorNode

All Superinterfaces:
DebugNode

public interface ConnectorNode
extends DebugNode

A node representing a read/written model during the evaluation.

This interface is not intended to be implemented by clients.


Method Summary
 String getConnectorName()
          Returns the name of the connector used.
 ModelValue getModel()
          Returns a description of the read/written model.
 String getURI()
          Returns the uri used to read/write the model.
 boolean isRead()
          Returns true if the connector used is a model reader.
 boolean isWrite()
          Returns true if the connector used is a model writer.
 
Methods inherited from interface com.sodius.mdw.core.eval.debug.DebugNode
getChildren, getFailure, getHierarchy, getParent, isFailed, isLeaf, isRoot
 

Method Detail

isRead

boolean isRead()
Returns true if the connector used is a model reader.

Returns:
true if the connector used is a model reader, false otherwise.
See Also:
ConnectorDescriptor.isReader()

isWrite

boolean isWrite()
Returns true if the connector used is a model writer.

Returns:
true if the connector used is a model writer, false otherwise.
See Also:
ConnectorDescriptor.isWriter()

getConnectorName

String getConnectorName()
Returns the name of the connector used.

Returns:
the connector name.
See Also:
ConnectorDescriptor.getName()

getURI

String getURI()
Returns the uri used to read/write the model.

Returns:
the uri used to read/write the model, null if no uri used.
See Also:
ModelReader.read(String, Model, ConnectorContext), ModelWriter.write(String, Model, ConnectorContext)

getModel

ModelValue getModel()
Returns a description of the read/written model.

Returns:
a description of the read/written model.