public class ModuleCDefinitionManager extends Object implements DmcNameClashResolverIF, DmcNameResolverWithClashSupportIF, ModuleAGlobalInterface, ModuleBGlobalInterface, ModuleCGlobalInterface, ModuleADefinitionsIF, ModuleBDefinitionsIF, ModuleCDefinitionsIF
| Constructor and Description |
|---|
ModuleCDefinitionManager() |
public void resolveReferences()
throws DmcValueExceptionSet
DmcValueExceptionSetpublic Collection<DmwNamedObjectWrapper> getIndex(DmcClassInfo ci)
public DmcNamedObjectIF findNamedObject(DmcObjectName name)
DmcNameResolverIFfindNamedObject in interface DmcNameResolverIFpublic DSDefinition findDefinition(DotName name)
public void deleteDefinition(DotName name) throws ResultException
name - the fully qualified DotName of the definition to be deleted.ResultException - if the definition can't, be found or if there are outstanding references to it.public DmcNamedObjectIF findNamedObject(DmcObjectName name, int attributeID)
DmcNameResolverIFfindNamedObject in interface DmcNameResolverIFname - the name of an objectattributeID - the attribute by which it is namedpublic DmcObject findNamedDMO(DmcObjectName name)
DmcNameResolverIFfindNamedDMO in interface DmcNameResolverIFname - the name of the objectpublic DmcNamedObjectIF findNamedObjectMayClash(DmcObject object, DmcObjectName name, DmcNameClashResolverIF resolver, DmcAttributeInfo ai) throws DmcValueException
DmcNameResolverWithClashSupportIFfindNamedObjectMayClash in interface DmcNameResolverWithClashSupportIFobject - the object that we're resolvingname - the name of the object being referred toresolver - the entity that may resolve clashes if they occurai - the attribute being resolvedDmcValueException - if values are incorrectpublic DmcNamedObjectIF resolveClash(DmcObject obj, DmcAttributeInfo ai, DmcNameClashObjectSet<?> ncos) throws DmcValueException
DmcNameClashResolverIFresolveClash in interface DmcNameClashResolverIFobj - the object on which resolveReferences() has been calledai - the info for the attribute being resolvedncos - the objects whose names clashDmcValueException - if the appropriate can't be determinedpublic int getAConceptBaseCount()
getAConceptBaseCount in interface ModuleAGlobalInterfacepublic AConceptBase getAConceptBase(DotName name)
getAConceptBase in interface ModuleAGlobalInterfacepublic Iterator<AConceptBase> getAllAConceptBase()
getAllAConceptBase in interface ModuleAGlobalInterfacepublic void addABConceptX(ABConceptX def)
addABConceptX in interface ModuleAGlobalInterfacepublic void deleteABConceptX(ABConceptX def)
deleteABConceptX in interface ModuleAGlobalInterfacepublic int getABConceptXCount()
getABConceptXCount in interface ModuleAGlobalInterfacepublic ABConceptX getABConceptX(DotName name)
getABConceptX in interface ModuleAGlobalInterfacepublic Iterator<ABConceptX> getAllABConceptX()
getAllABConceptX in interface ModuleAGlobalInterfacepublic ABConceptX getABConceptXDefinition(String name) throws DmcNameClashException, DmcValueException
getABConceptXDefinition in interface ModuleAGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ABConceptX> getABConceptXDefinitionsByName(String name) throws DmcValueException
getABConceptXDefinitionsByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic int getABConceptXDefinitionCountByName(String name) throws DmcValueException
getABConceptXDefinitionCountByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic void addAConceptX(AConceptX def)
addAConceptX in interface ModuleAGlobalInterfacepublic void deleteAConceptX(AConceptX def)
deleteAConceptX in interface ModuleAGlobalInterfacepublic int getAConceptXCount()
getAConceptXCount in interface ModuleAGlobalInterfacepublic AConceptX getAConceptX(DotName name)
getAConceptX in interface ModuleAGlobalInterfacepublic Iterator<AConceptX> getAllAConceptX()
getAllAConceptX in interface ModuleAGlobalInterfacepublic AConceptX getAConceptXDefinition(String name) throws DmcNameClashException, DmcValueException
getAConceptXDefinition in interface ModuleAGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<AConceptX> getAConceptXDefinitionsByName(String name) throws DmcValueException
getAConceptXDefinitionsByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic int getAConceptXDefinitionCountByName(String name) throws DmcValueException
getAConceptXDefinitionCountByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic void addModuleA(ModuleA def)
addModuleA in interface ModuleAGlobalInterfacepublic void deleteModuleA(ModuleA def)
deleteModuleA in interface ModuleAGlobalInterfacepublic int getModuleACount()
getModuleACount in interface ModuleAGlobalInterfacepublic ModuleA getModuleA(DotName name)
getModuleA in interface ModuleAGlobalInterfacepublic Iterator<ModuleA> getAllModuleA()
getAllModuleA in interface ModuleAGlobalInterfacepublic ModuleA getModuleADefinition(String name) throws DmcNameClashException, DmcValueException
getModuleADefinition in interface ModuleAGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ModuleA> getModuleADefinitionsByName(String name) throws DmcValueException
getModuleADefinitionsByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic int getModuleADefinitionCountByName(String name) throws DmcValueException
getModuleADefinitionCountByName in interface ModuleAGlobalInterfaceDmcValueExceptionpublic int getBConceptBaseCount()
getBConceptBaseCount in interface ModuleBGlobalInterfacepublic BConceptBase getBConceptBase(DotName name)
getBConceptBase in interface ModuleBGlobalInterfacepublic Iterator<BConceptBase> getAllBConceptBase()
getAllBConceptBase in interface ModuleBGlobalInterfacepublic void addBConceptX(BConceptX def)
addBConceptX in interface ModuleBGlobalInterfacepublic void deleteBConceptX(BConceptX def)
deleteBConceptX in interface ModuleBGlobalInterfacepublic int getBConceptXCount()
getBConceptXCount in interface ModuleBGlobalInterfacepublic BConceptX getBConceptX(DotName name)
getBConceptX in interface ModuleBGlobalInterfacepublic Iterator<BConceptX> getAllBConceptX()
getAllBConceptX in interface ModuleBGlobalInterfacepublic BConceptX getBConceptXDefinition(String name) throws DmcNameClashException, DmcValueException
getBConceptXDefinition in interface ModuleBGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<BConceptX> getBConceptXDefinitionsByName(String name) throws DmcValueException
getBConceptXDefinitionsByName in interface ModuleBGlobalInterfaceDmcValueExceptionpublic int getBConceptXDefinitionCountByName(String name) throws DmcValueException
getBConceptXDefinitionCountByName in interface ModuleBGlobalInterfaceDmcValueExceptionpublic void addModuleB(ModuleB def)
addModuleB in interface ModuleBGlobalInterfacepublic void deleteModuleB(ModuleB def)
deleteModuleB in interface ModuleBGlobalInterfacepublic int getModuleBCount()
getModuleBCount in interface ModuleBGlobalInterfacepublic ModuleB getModuleB(DotName name)
getModuleB in interface ModuleBGlobalInterfacepublic Iterator<ModuleB> getAllModuleB()
getAllModuleB in interface ModuleBGlobalInterfacepublic ModuleB getModuleBDefinition(String name) throws DmcNameClashException, DmcValueException
getModuleBDefinition in interface ModuleBGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ModuleB> getModuleBDefinitionsByName(String name) throws DmcValueException
getModuleBDefinitionsByName in interface ModuleBGlobalInterfaceDmcValueExceptionpublic int getModuleBDefinitionCountByName(String name) throws DmcValueException
getModuleBDefinitionCountByName in interface ModuleBGlobalInterfaceDmcValueExceptionpublic int getCConceptBaseCount()
getCConceptBaseCount in interface ModuleCGlobalInterfacepublic CConceptBase getCConceptBase(DotName name)
getCConceptBase in interface ModuleCGlobalInterfacepublic Iterator<CConceptBase> getAllCConceptBase()
getAllCConceptBase in interface ModuleCGlobalInterfacepublic void addCConceptX(CConceptX def)
addCConceptX in interface ModuleCGlobalInterfacepublic void deleteCConceptX(CConceptX def)
deleteCConceptX in interface ModuleCGlobalInterfacepublic int getCConceptXCount()
getCConceptXCount in interface ModuleCGlobalInterfacepublic CConceptX getCConceptX(DotName name)
getCConceptX in interface ModuleCGlobalInterfacepublic Iterator<CConceptX> getAllCConceptX()
getAllCConceptX in interface ModuleCGlobalInterfacepublic CConceptX getCConceptXDefinition(String name) throws DmcNameClashException, DmcValueException
getCConceptXDefinition in interface ModuleCGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<CConceptX> getCConceptXDefinitionsByName(String name) throws DmcValueException
getCConceptXDefinitionsByName in interface ModuleCGlobalInterfaceDmcValueExceptionpublic int getCConceptXDefinitionCountByName(String name) throws DmcValueException
getCConceptXDefinitionCountByName in interface ModuleCGlobalInterfaceDmcValueExceptionpublic void addModuleC(ModuleC def)
addModuleC in interface ModuleCGlobalInterfacepublic void deleteModuleC(ModuleC def)
deleteModuleC in interface ModuleCGlobalInterfacepublic int getModuleCCount()
getModuleCCount in interface ModuleCGlobalInterfacepublic ModuleC getModuleC(DotName name)
getModuleC in interface ModuleCGlobalInterfacepublic Iterator<ModuleC> getAllModuleC()
getAllModuleC in interface ModuleCGlobalInterfacepublic ModuleC getModuleCDefinition(String name) throws DmcNameClashException, DmcValueException
getModuleCDefinition in interface ModuleCGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ModuleC> getModuleCDefinitionsByName(String name) throws DmcValueException
getModuleCDefinitionsByName in interface ModuleCGlobalInterfaceDmcValueExceptionpublic int getModuleCDefinitionCountByName(String name) throws DmcValueException
getModuleCDefinitionCountByName in interface ModuleCGlobalInterfaceDmcValueExceptionpublic void addDefinition(DSDefinition definition)
public void addDefinition(DSDefinition definition, ModuleC module)
public String summary()
Copyright © 2023. All rights reserved.