com.sodius.mdw.core.eval.report
Interface ReportModel


public interface ReportModel

Provides information on a model read/written during an evaluation.

This interface is not intended to be implemented by clients.

See Also:
Report.getReportModels()

Method Summary
 String getConnectorName()
          Returns the name of the connector used.
 String getMetamodelID()
          Returns the ID of the related metamodel.
 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.
 

Method Detail

getMetamodelID

String getMetamodelID()
Returns the ID of the related metamodel.

Returns:
the metamodel unique ID.
See Also:
Metamodel.getUniqueID()

getConnectorName

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

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

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()

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)