public class TdlModuleDefinitionManager extends Object implements DmcNameClashResolverIF, DmcNameResolverWithClashSupportIF, TdlModuleGlobalInterface, TdlModuleDefinitionsIF
| Constructor and Description |
|---|
TdlModuleDefinitionManager() |
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 getTdlDefinitionCount()
getTdlDefinitionCount in interface TdlModuleGlobalInterfacepublic TdlDefinition getTdlDefinition(DotName name)
getTdlDefinition in interface TdlModuleGlobalInterfacepublic Iterator<TdlDefinition> getAllTdlDefinition()
getAllTdlDefinition in interface TdlModuleGlobalInterfacepublic void addContainedElement(ContainedElement def)
addContainedElement in interface TdlModuleGlobalInterfacepublic void deleteContainedElement(ContainedElement def)
deleteContainedElement in interface TdlModuleGlobalInterfacepublic int getContainedElementCount()
getContainedElementCount in interface TdlModuleGlobalInterfacepublic ContainedElement getContainedElement(DotName name)
getContainedElement in interface TdlModuleGlobalInterfacepublic Iterator<ContainedElement> getAllContainedElement()
getAllContainedElement in interface TdlModuleGlobalInterfacepublic ContainedElement getContainedElementDefinition(String name) throws DmcNameClashException, DmcValueException
getContainedElementDefinition in interface TdlModuleGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ContainedElement> getContainedElementDefinitionsByName(String name) throws DmcValueException
getContainedElementDefinitionsByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic int getContainedElementDefinitionCountByName(String name) throws DmcValueException
getContainedElementDefinitionCountByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic void addExtensionHook(ExtensionHook def)
addExtensionHook in interface TdlModuleGlobalInterfacepublic void deleteExtensionHook(ExtensionHook def)
deleteExtensionHook in interface TdlModuleGlobalInterfacepublic int getExtensionHookCount()
getExtensionHookCount in interface TdlModuleGlobalInterfacepublic ExtensionHook getExtensionHook(DotName name)
getExtensionHook in interface TdlModuleGlobalInterfacepublic Iterator<ExtensionHook> getAllExtensionHook()
getAllExtensionHook in interface TdlModuleGlobalInterfacepublic ExtensionHook getExtensionHookDefinition(String name) throws DmcNameClashException, DmcValueException
getExtensionHookDefinition in interface TdlModuleGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<ExtensionHook> getExtensionHookDefinitionsByName(String name) throws DmcValueException
getExtensionHookDefinitionsByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic int getExtensionHookDefinitionCountByName(String name) throws DmcValueException
getExtensionHookDefinitionCountByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic void addSection(Section def)
addSection in interface TdlModuleGlobalInterfacepublic void deleteSection(Section def)
deleteSection in interface TdlModuleGlobalInterfacepublic int getSectionCount()
getSectionCount in interface TdlModuleGlobalInterfacepublic Section getSection(DotName name)
getSection in interface TdlModuleGlobalInterfacepublic Iterator<Section> getAllSection()
getAllSection in interface TdlModuleGlobalInterfacepublic Section getSectionDefinition(String name) throws DmcNameClashException, DmcValueException
getSectionDefinition in interface TdlModuleGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<Section> getSectionDefinitionsByName(String name) throws DmcValueException
getSectionDefinitionsByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic int getSectionDefinitionCountByName(String name) throws DmcValueException
getSectionDefinitionCountByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic void addTdlModule(TdlModule def)
addTdlModule in interface TdlModuleGlobalInterfacepublic void deleteTdlModule(TdlModule def)
deleteTdlModule in interface TdlModuleGlobalInterfacepublic int getTdlModuleCount()
getTdlModuleCount in interface TdlModuleGlobalInterfacepublic TdlModule getTdlModule(DotName name)
getTdlModule in interface TdlModuleGlobalInterfacepublic Iterator<TdlModule> getAllTdlModule()
getAllTdlModule in interface TdlModuleGlobalInterfacepublic TdlModule getTdlModuleDefinition(String name) throws DmcNameClashException, DmcValueException
getTdlModuleDefinition in interface TdlModuleGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<TdlModule> getTdlModuleDefinitionsByName(String name) throws DmcValueException
getTdlModuleDefinitionsByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic int getTdlModuleDefinitionCountByName(String name) throws DmcValueException
getTdlModuleDefinitionCountByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic void addTextualArtifact(TextualArtifact def)
addTextualArtifact in interface TdlModuleGlobalInterfacepublic void deleteTextualArtifact(TextualArtifact def)
deleteTextualArtifact in interface TdlModuleGlobalInterfacepublic int getTextualArtifactCount()
getTextualArtifactCount in interface TdlModuleGlobalInterfacepublic TextualArtifact getTextualArtifact(DotName name)
getTextualArtifact in interface TdlModuleGlobalInterfacepublic Iterator<TextualArtifact> getAllTextualArtifact()
getAllTextualArtifact in interface TdlModuleGlobalInterfacepublic TextualArtifact getTextualArtifactDefinition(String name) throws DmcNameClashException, DmcValueException
getTextualArtifactDefinition in interface TdlModuleGlobalInterfaceDmcNameClashExceptionDmcValueExceptionpublic Iterator<TextualArtifact> getTextualArtifactDefinitionsByName(String name) throws DmcValueException
getTextualArtifactDefinitionsByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic int getTextualArtifactDefinitionCountByName(String name) throws DmcValueException
getTextualArtifactDefinitionCountByName in interface TdlModuleGlobalInterfaceDmcValueExceptionpublic void addDefinition(DSDefinition definition)
public void addDefinition(DSDefinition definition, TdlModule module)
public String summary()
Copyright © 2023. All rights reserved.