public class EntityRelationshipModel
extends java.lang.Object
Constructor and Description |
---|
EntityRelationshipModel() |
EntityRelationshipModel(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addDataStoreInfo(DataStoreInfo dataStoreInfo)
public method used to add a DataStoreInfo object to the appDataStores map
Application Designer also calls this to add newly configured DataStores to the map
|
void |
addDialogEntity(java.lang.String id) |
void |
addToCheckForDataStoresList(UIERMEntity currentEntity) |
boolean |
dialogEntityExists(java.lang.String id)
Deprecated.
|
UIERMEntity |
findEntity(java.lang.String datasrc)
Returns the Entity associated with the specified datasrc id from this model.
|
void |
generateDataStores(org.w3c.dom.Element presentationElement,
MXSession mxSession) |
java.util.List<DataStoreInfo> |
generateDataStoresForDialog(org.w3c.dom.Element el,
MXSession mxSession) |
java.lang.StringBuilder |
generateERMXML()
This method returns a StringBuilder containing the XML representation of this ERM.
|
DataStoreInfo |
getDataStore(java.lang.String dataStoreId) |
java.util.Map<java.lang.String,DataStoreInfo> |
getDataStoreList()
Return a Map of simple domains for the main page of the application.
|
java.lang.String |
getId() |
java.util.Map<java.lang.String,UIERMEntity> |
getTopLevelEntities()
Returns the map of top-level entities for the ERM
|
boolean |
hasDialogEntity(java.lang.String id) |
void |
putEntity(java.lang.String datasrc,
UIERMEntity entity)
Deprecated.
|
void |
putTopLevelEntity(java.lang.String datasrc,
UIERMEntity entity)
Adds the passed in UIERMEntity to the list of top level entities for the ERM
|
void |
removeDialogEntity(java.lang.String id) |
void |
setConditionalSigOptions(java.util.List<java.lang.String> sigOptions) |
boolean |
sigOptionHaveCondInputmode(java.lang.String sigOption) |
public EntityRelationshipModel(java.lang.String id)
public EntityRelationshipModel()
public java.lang.String getId()
public void putTopLevelEntity(java.lang.String datasrc, UIERMEntity entity)
datasrc
- The datasrc id of the entityentity
- the entity to add to the ERMpublic void putEntity(java.lang.String datasrc, UIERMEntity entity)
putTopLevelEntity(String, UIERMEntity)
public java.util.Map<java.lang.String,UIERMEntity> getTopLevelEntities()
public UIERMEntity findEntity(java.lang.String datasrc)
datasrc
- The datasrc id to retrieve the Entitypublic java.lang.StringBuilder generateERMXML()
public boolean dialogEntityExists(java.lang.String id)
hasDialogEntity(String)
public boolean hasDialogEntity(java.lang.String id)
public void addDialogEntity(java.lang.String id)
public void removeDialogEntity(java.lang.String id)
public void setConditionalSigOptions(java.util.List<java.lang.String> sigOptions)
public boolean sigOptionHaveCondInputmode(java.lang.String sigOption)
public void generateDataStores(org.w3c.dom.Element presentationElement, MXSession mxSession)
public java.util.List<DataStoreInfo> generateDataStoresForDialog(org.w3c.dom.Element el, MXSession mxSession)
public void addDataStoreInfo(DataStoreInfo dataStoreInfo)
dataStoreInfo
- public DataStoreInfo getDataStore(java.lang.String dataStoreId)
public java.util.Map<java.lang.String,DataStoreInfo> getDataStoreList()
public void addToCheckForDataStoresList(UIERMEntity currentEntity)