@PortedFrom(file="modelCacheInterface.h", name="modelCacheInterface") public abstract class ModelCacheInterface extends Object
| Constructor and Description |
|---|
ModelCacheInterface(boolean flagNominals)
Create cache model with given precense of nominals
|
| Modifier and Type | Method and Description |
|---|---|
abstract ModelCacheState |
canMerge(ModelCacheInterface p)
check whether two caches can be merged; @return state of "merged" model
|
ModelCacheType |
getCacheType()
Get the tag identifying the cache type
|
abstract ModelCacheState |
getState()
Check the model cache internal state.
|
boolean |
hasNominalClash(ModelCacheInterface p)
check whether both models have nominals; in this case, merge is
impossible
|
boolean |
isHasNominalNode() |
void |
logCacheEntry(int level,
LogAdapter l)
log this cache entry (with given level)
|
void |
setHasNominalNode(boolean hasNominalNode) |
boolean |
shallowCache()
get type of cache (deep or shallow)
|
void |
updateNominalStatus(ModelCacheInterface p)
update knoweledge about nominals in the model after merging
|
public ModelCacheInterface(boolean flagNominals)
@PortedFrom(file="modelCacheInterface.h", name="hasNominalClash") public boolean hasNominalClash(ModelCacheInterface p)
@PortedFrom(file="modelCacheInterface.h", name="updateNominalStatus") public void updateNominalStatus(ModelCacheInterface p)
@PortedFrom(file="modelCacheInterface.h", name="getState") public abstract ModelCacheState getState()
@PortedFrom(file="modelCacheInterface.h", name="canMerge") public abstract ModelCacheState canMerge(ModelCacheInterface p)
@PortedFrom(file="modelCacheInterface.h", name="getCacheType") public ModelCacheType getCacheType()
@PortedFrom(file="modelCacheInterface.h", name="shallowCache") public boolean shallowCache()
@PortedFrom(file="modelCacheInterface.h", name="logCacheEntry") public void logCacheEntry(int level, LogAdapter l)
@Original public void setHasNominalNode(boolean hasNominalNode)
@Original public boolean isHasNominalNode()
Copyright © 2013 The University of Manchester. All Rights Reserved.