public class ModuleADefinitionManager extends Object implements DmcNameClashResolverIF, DmcNameResolverWithClashSupportIF, ModuleAGlobalInterface, ModuleADefinitionsIF
| Constructor and Description |
|---|
ModuleADefinitionManager() |
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 void addDefinition(DSDefinition definition)
public void addDefinition(DSDefinition definition, ModuleA module)
public String summary()
Copyright © 2023. All rights reserved.