public class TestDataCache extends Object implements DmcNameResolverIF, DmcCacheIF
| Constructor and Description |
|---|
TestDataCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DmcNamedObjectIF obj) |
void |
applyModification(DmcNamedObjectIF referringObject,
DmcTypeModifier mods)
Implementors should apply the specified modification to the referring object.
|
boolean |
delete(DmcObjectNameIF objname) |
DmcObject |
findNamedDMO(DmcObjectName name)
Finds a DMO based on its name.
|
DmcNamedObjectIF |
findNamedObject(DmcObjectName name)
Finds a named object based on its name.
|
DmcNamedObjectIF |
findNamedObject(DmcObjectName name,
int attributeID)
Finds a named object based on its name and indicates the attribute via which
the reference is being made.
|
public void add(DmcNamedObjectIF obj)
public boolean delete(DmcObjectNameIF objname)
public DmcObject findNamedDMO(DmcObjectName name)
DmcNameResolverIFfindNamedDMO in interface DmcNameResolverIFname - the name of the objectpublic DmcNamedObjectIF findNamedObject(DmcObjectName name)
DmcNameResolverIFfindNamedObject in interface DmcNameResolverIFpublic DmcNamedObjectIF findNamedObject(DmcObjectName name, int attributeID)
DmcNameResolverIFfindNamedObject in interface DmcNameResolverIFname - the name of an objectattributeID - the attribute by which it is namedpublic void applyModification(DmcNamedObjectIF referringObject, DmcTypeModifier mods) throws DmcValueExceptionSet, DmcValueException
DmcCacheIFapplyModification in interface DmcCacheIFreferringObject - The object that had referenced the deleted object.mods - The modification that will remove the reference from the reference attribute.DmcValueExceptionSetDmcValueExceptionCopyright © 2023. All rights reserved.