|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModel
Represents the Logical Model used by Convergence for MDM.
This model reflects what was designed in the workbench.
Field Summary | |
---|---|
static String |
MODEL_PREFIX
|
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed |
---|
SEP |
Method Summary | |
---|---|
IApplication |
getApplication(String pApplicationName)
Return the IApplication for the given name if exists |
List<IApplication> |
getApplications()
Return the list of IApplication for this model (sorted by application name) |
List<IEntity> |
getBaseEntities()
Returns the list of base entities in this model ordered by IEntity.getName() |
ITranslationBundle |
getBaseTranslationBundle()
|
IBusinessObject |
getBusinessObject(String pBOName)
Return the Business Object gor the given name or throws NoSuchBusinessObjectException if there is no BO with such name. |
List<IBusinessObject> |
getBusinessObjects()
Return the list of IBusinessObject for this model ordered by BO names |
IComplexType |
getComplexType(String pTypeName)
|
List<IComplexType> |
getComplexTypes()
|
List<IEntity> |
getEntities()
Returns the list of entities managed in this model ordered by IEntity.getName() |
IEntity |
getEntity(String pEntityName)
Returns the IEntity with the given name if it exists or throws
NoSuchEntityException . |
IModelLabelProvider |
getLabelProvider()
Obtain the label provider for IModel objects. |
ILov |
getLov(String pName)
Returns the ILov with the given name or throws a
NoSuchLovException |
List<ILov> |
getLovs()
Returns the list of ILov defined in this model ordered by
ILov.getName() |
List<IModelDiagram> |
getModelDiagrams()
Return the list of model diagrams ordered by IModelDiagram.getName() |
IModelID |
getModelID()
|
IModelJob |
getModelJob(String pName)
|
List<IModelJob> |
getModelJobs()
|
List<IModelPrivGrant> |
getModelPrivGrants()
|
String |
getName()
|
List<ITranslationBundle> |
getNotBaseTranslationBundles()
|
IPublisher |
getPublisher(String pCode)
Returns the IPublisher with the given code if it exists or throws
a NoSuchPublisherException |
List<IPublisher> |
getPublishers()
Returns the list of IPublisher managed by this model ordered by
IPublisher.getCode() Code |
IReference |
getReference(String pReferenceName)
Returns the IReference with the given name if it exists or throws
a NoSuchReferenceException |
List<IReference> |
getReferences()
Returns the list of references managed in this model ordered by IReference.getName() . |
IRetentionPolicy |
getRetentionPolicy()
|
List<IModelVariable> |
getVariables()
|
void |
setNotBaseTranslationBundles(List<ITranslationBundle> pTranslationBundlesToUse)
Change the list of not base ITranslationBundle and update the
getLabelProvider() to use them. |
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed |
---|
getPrefixedUniqueName, getUniqueName |
Field Detail |
---|
static final String MODEL_PREFIX
Method Detail |
---|
IModelID getModelID()
String getName()
List<IEntity> getBaseEntities()
IEntity.getName()
List<IEntity> getEntities()
IEntity.getName()
IEntity getEntity(String pEntityName) throws NoSuchEntityException
IEntity
with the given name if it exists or throws
NoSuchEntityException
.
pEntityName
-
NoSuchEntityException
- if name doesn't match any of known entitiesList<IReference> getReferences()
IReference.getName()
.
IReference getReference(String pReferenceName) throws NoSuchReferenceException
IReference
with the given name if it exists or throws
a NoSuchReferenceException
pReferenceName
-
NoSuchReferenceException
- if reference is not foundList<IPublisher> getPublishers()
IPublisher
managed by this model ordered by
IPublisher.getCode()
Code
IPublisher getPublisher(String pCode) throws NoSuchPublisherException
IPublisher
with the given code if it exists or throws
a NoSuchPublisherException
pCode
-
NoSuchPublisherException
- if publisher is not foundList<ILov> getLovs()
ILov
defined in this model ordered by
ILov.getName()
ILov getLov(String pName) throws NoSuchLovException
ILov
with the given name or throws a
NoSuchLovException
pName
-
NoSuchLovException
IModelLabelProvider getLabelProvider()
List<IModelJob> getModelJobs()
IModelJob getModelJob(String pName) throws NoSuchModelJobException
pName
-
NoSuchModelJobException
- if not foundList<IModelPrivGrant> getModelPrivGrants()
IModelPrivGrant
defined for this model.List<IComplexType> getComplexTypes()
IComplexType
defined for this model.IComplexType getComplexType(String pTypeName) throws NoSuchComplexTypeException
IComplexType
for the given name.
NoSuchComplexTypeException
List<IBusinessObject> getBusinessObjects()
IBusinessObject getBusinessObject(String pBOName) throws NoSuchBusinessObjectException
NoSuchBusinessObjectException
if there is no BO with such name.
pBOName
-
NoSuchBusinessObjectException
List<IApplication> getApplications()
IApplication getApplication(String pApplicationName) throws NoSuchApplicationException
IApplication
for the given name if exists
pApplicationName
-
NoSuchApplicationException
- if there is no application with such nameITranslationBundle getBaseTranslationBundle()
List<ITranslationBundle> getNotBaseTranslationBundles()
List<IModelVariable> getVariables()
void setNotBaseTranslationBundles(List<ITranslationBundle> pTranslationBundlesToUse)
ITranslationBundle
and update the
getLabelProvider()
to use them.
This method should not be used by clients.
pTranslationBundlesToUse
- List<IModelDiagram> getModelDiagrams()
IModelDiagram.getName()
IRetentionPolicy getRetentionPolicy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |