public class RoleTypeCache extends Object
Modifier and Type | Field and Description |
---|---|
protected TransactionIF |
ptxn |
protected boolean |
qlshared |
protected Map<ParameterArray,Collection<AssociationRoleIF>> |
radd |
protected TransactionalLookupIndexIF<ParameterArray,Collection<AssociationRoleIF>> |
rolesByType |
protected Map<ParameterArray,Collection<AssociationRoleIF>> |
rrem |
protected TopicMapIF |
tm |
protected TopicMapTransactionIF |
txn |
Constructor and Description |
---|
RoleTypeCache(TopicMapTransactionIF txn,
EventManagerIF emanager,
EventManagerIF otree) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
protected void |
addEntry(ParameterArray key,
AssociationRoleIF added) |
void |
commit() |
protected String |
getProperty(String name) |
Collection<AssociationRoleIF> |
getRolesByType(TopicIF player,
TopicIF roletype) |
protected Object |
i(Object value) |
protected void |
removeEntry(ParameterArray key,
AssociationRoleIF removed) |
protected TopicMapIF tm
protected TopicMapTransactionIF txn
protected TransactionIF ptxn
protected TransactionalLookupIndexIF<ParameterArray,Collection<AssociationRoleIF>> rolesByType
protected boolean qlshared
protected Map<ParameterArray,Collection<AssociationRoleIF>> radd
protected Map<ParameterArray,Collection<AssociationRoleIF>> rrem
public RoleTypeCache(TopicMapTransactionIF txn, EventManagerIF emanager, EventManagerIF otree)
public void commit()
public void abort()
public Collection<AssociationRoleIF> getRolesByType(TopicIF player, TopicIF roletype)
protected void addEntry(ParameterArray key, AssociationRoleIF added)
protected void removeEntry(ParameterArray key, AssociationRoleIF removed)