|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectfr.ocelet.runtime.AbstractEntity
fr.ocelet.runtime.Model
public abstract class Model
Ocelet generic model class. The purpose of this abstract class is to provide methods useful for any kind of model. Every Ocelet model has to extend this class. And as it can be seen in the declaration every model is also an entity.
| Field Summary |
|---|
| Fields inherited from class fr.ocelet.runtime.AbstractEntity |
|---|
propmap, transaction |
| Constructor Summary | |
|---|---|
Model()
|
|
| Method Summary | |
|---|---|
void |
graphApplyBehavior(java.lang.String graphPropertyName,
Interaction gi)
Runs an interaction behavior on all the edges of the graph specified by the given property name. |
void |
graphConnect(java.lang.String graphPropertyName,
java.util.Collection<Entity> vcol)
Adds a new edge to the graph stored in the form of a property in this Model. |
long |
idnumber()
|
| Methods inherited from class fr.ocelet.runtime.AbstractEntity |
|---|
defProperty, getProperty, getProperty, setProperty, setProperty, tabort, tbegin, tcommit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Model()
| Method Detail |
|---|
public long idnumber()
public void graphConnect(java.lang.String graphPropertyName,
java.util.Collection<Entity> vcol)
graphPropertyName - Name of a graph Hpropertyvcol - Collection of entities to link together in the graph
public void graphApplyBehavior(java.lang.String graphPropertyName,
Interaction gi)
graphPropertyName - Name of a graph Hpropertygi - Interaction to apply on the graph
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||