net.sourceforge.toscanaj.model.context
Class ContextImplementation
java.lang.Object
net.sourceforge.toscanaj.model.context.ContextImplementation
- All Implemented Interfaces:
- org.tockit.context.model.Context, org.tockit.context.model.ListsContext
- public class ContextImplementation
- extends java.lang.Object
- implements org.tockit.context.model.ListsContext
- To do:
- hide access to collections and relation by playing man in the middle.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextImplementation
public ContextImplementation()
ContextImplementation
public ContextImplementation(java.lang.String name)
getObjects
public java.util.Set getObjects()
- Specified by:
getObjects
in interface org.tockit.context.model.Context
getAttributes
public java.util.Set getAttributes()
- Specified by:
getAttributes
in interface org.tockit.context.model.Context
getRelation
public org.tockit.context.model.BinaryRelation getRelation()
- Specified by:
getRelation
in interface org.tockit.context.model.Context
getRelationImplementation
public org.tockit.context.model.BinaryRelationImplementation getRelationImplementation()
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.tockit.context.model.Context
setName
public void setName(java.lang.String name)
createSum
public org.tockit.context.model.Context createSum(org.tockit.context.model.Context other,
java.lang.String title)
createProduct
public org.tockit.context.model.Context createProduct(org.tockit.context.model.Context other,
java.lang.String title)
- To do:
- this is not a good place, since we assume SQL strings here
getObjectList
public org.tockit.util.ListSet getObjectList()
- Specified by:
getObjectList
in interface org.tockit.context.model.ListsContext
getAttributeList
public org.tockit.util.ListSet getAttributeList()
- Specified by:
getAttributeList
in interface org.tockit.context.model.ListsContext
updatePositionMarkers
public void updatePositionMarkers()
The ToscanaJ project