psdi.webclient.system.erm

Class EntityRelationshipModel

  • java.lang.Object
    • psdi.webclient.system.erm.EntityRelationshipModel


  • public class EntityRelationshipModel
    extends java.lang.Object
    • Constructor Detail

      • EntityRelationshipModel

        public EntityRelationshipModel(java.lang.String id)
      • EntityRelationshipModel

        public EntityRelationshipModel()
    • Method Detail

      • getId

        public java.lang.String getId()
      • putTopLevelEntity

        public void putTopLevelEntity(java.lang.String datasrc,
                                      UIERMEntity entity)
        Adds the passed in UIERMEntity to the list of top level entities for the ERM
        Parameters:
        datasrc - The datasrc id of the entity
        entity - the entity to add to the ERM
      • getTopLevelEntities

        public java.util.Map getTopLevelEntities()
        Returns the map of top-level entities for the ERM
      • findEntity

        public UIERMEntity findEntity(java.lang.String datasrc)
        Returns the Entity associated with the specified datasrc id from this model.
        Parameters:
        datasrc - The datasrc id to retrieve the Entity
      • generateERMXML

        public java.lang.StringBuilder generateERMXML()
        This method returns a StringBuilder containing the XML representation of this ERM. The xml is generated to have a visual representation or the ERM for debugging purposes.
        Returns:
        StringBuilder with a XML representation of the ERM
      • hasDialogEntity

        public boolean hasDialogEntity(java.lang.String id)
      • addDialogEntity

        public void addDialogEntity(java.lang.String id)
      • removeDialogEntity

        public void removeDialogEntity(java.lang.String id)
      • setConditionalSigOptions

        public void setConditionalSigOptions(java.util.List sigOptions)
      • sigOptionHaveCondInputmode

        public boolean sigOptionHaveCondInputmode(java.lang.String sigOption)
      • generateDataStores

        public void generateDataStores(org.w3c.dom.Element presentationElement,
                                       MXSession mxSession)
      • generateDataStoresForDialog

        public java.util.List generateDataStoresForDialog(org.w3c.dom.Element el,
                                                          MXSession mxSession)
      • addDataStoreInfo

        public 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
        Parameters:
        dataStoreInfo -
      • getDataStore

        public DataStoreInfo getDataStore(java.lang.String dataStoreId)
      • getDataStoreList

        public java.util.Map getDataStoreList()
        Return a Map of simple domains for the main page of the application.
      • addToCheckForDataStoresList

        public void addToCheckForDataStoresList(UIERMEntity currentEntity)
      • addRepLibraryEntity

        public void addRepLibraryEntity(UIERMEntity currentEntity)
      • removeRepLibraryEntitites

        public void removeRepLibraryEntitites()