JIVE Platform
Release 0.3.1

edu.bsu.cs.jive.contour
Interface Contour

All Known Subinterfaces:
InstanceContour, JavaContour, MethodContour, StaticContour

public interface Contour

A contour within a contour model.

This should not be confused with the contour table in the jivelog database. That table contains the list of known contours in a stateless fashion. This contour interface represents a stateful contour, a contour whose variables have values and that is (probably) nested within some containing contour.

The contour model implementation aims towards language independence. Subinterfaces may supply language-specific semantics.


Nested Class Summary
static interface Contour.Exporter
          Reverse-builder for contours.
static interface Contour.Importer
          Builder for contours.
 
Method Summary
 ContourModel containingModel()
          Get the model that contains this contour.
 void export(Contour.Exporter exporter)
          Export this contour to the given reverse-builder.
 ContourID id()
          Get the contour identifier for this contour.
 

Method Detail

export

void export(Contour.Exporter exporter)
Export this contour to the given reverse-builder.

Parameters:
exporter -

id

ContourID id()
Get the contour identifier for this contour. This identifier is unique with respect to this contour model.

Returns:
contour identifier.

containingModel

ContourModel containingModel()
Get the model that contains this contour.

Returns:
containing contour model

JIVE Platform
Release 0.3.1