public interface Root
Modifier and Type | Method and Description |
---|---|
Expectation |
createExpectation() |
Fraction |
createFraction(long index,
long numerator,
long denominator)
Creates a new persistent fraction object.
|
Fraction |
createFraction(long index,
long numerator,
long denominator,
boolean inOracle)
Creates a new persistent fraction object.
|
InteractionContext |
createInteractionContext(String interactionContextURI)
Creates a new interaction context instance.
|
InteractionContext |
createInteractionContext(String interactionContextURI,
String actionsURI,
String responsesURI,
String structureURI)
Creates a new interaction context instance.
|
Session |
createSession(InteractionContext interactionContext)
Creates a session that can be used to create and/or obtain
Version s of
various types of models. |
Session |
createSession(String interactionContextURI)
Creates a session that can be used to create and/or obtain
Version s of
various types of models. |
Fraction |
createTransientFraction(long index,
long numerator,
long denominator)
Creates a new transient fraction object.
|
Alphabet.Iterable |
findAlphabets()
Returns all alphabets that are available in the data store.
|
Fraction |
findFraction(long index)
Returns the fraction object with the given index.
|
Fraction.Iterable |
findFractions()
Returns all fraction objects in the data store.
|
Fraction |
findOrCreateFraction(Fraction fraction)
Returns a persistent fraction object, creates a new one if necessary.
|
Fraction |
findOrCreateFraction(long index,
long numerator,
long denominator)
Returns a persistent fraction object, creates a new one if necessary.
|
InteractionContext createInteractionContext(String interactionContextURI)
interactionContextURI
- The URI that identifies the new interaction contextInteractionContext createInteractionContext(String interactionContextURI, String actionsURI, String responsesURI, String structureURI)
interactionContextURI
- The URI that identifies the new interaction contextactionsURI
- The URI that identifies the alphabet of actionsresponsesURI
- The URI that identifies the alphabet of actionsstructureURI
- The URI that identifies the tree of interaction historiesSession createSession(String interactionContextURI)
Version
s of
various types of models.interactionContextURI
- The URI that identifies the interaction contextSession createSession(InteractionContext interactionContext)
Version
s of
various types of models.interactionContext
- The interaction context for the new sessionAlphabet.Iterable findAlphabets()
Fraction createFraction(long index, long numerator, long denominator)
index
- The index of the new fractionnumerator
- The numerator of the new objectdenominator
- The denominator of the new objectFraction findOrCreateFraction(long index, long numerator, long denominator)
index
- The index of the fractionnumerator
- The numerator of the fractiondenominator
- The denominator of the fractionFraction findOrCreateFraction(Fraction fraction)
fraction
- The (probably transient) fraction to make persistentFraction createFraction(long index, long numerator, long denominator, boolean inOracle)
index
- The index of the new fractionnumerator
- The numerator of the new objectdenominator
- The denominator of the new objectinOracle
- Indication of whether the new fraction is part of the oracle or notFraction.Iterable findFractions()
Fraction findFraction(long index)
index
- The index of the requested fractionFraction createTransientFraction(long index, long numerator, long denominator)
index
- The index of the new fractionnumerator
- The numerator of the new objectdenominator
- The denominator of the new objectExpectation createExpectation()
Copyright © 2013. All Rights Reserved.