Search in sources :

Example 16 with PersistenceDescriptorModel

use of org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceDescriptorModel in project kie-wb-common by kiegroup.

the class DataModelerEventObserverTest method createModel.

private PersistenceDescriptorModel createModel() {
    PersistenceDescriptorModel descriptorModel = new PersistenceDescriptorModel();
    descriptorModel.setPersistenceUnit(new PersistenceUnitModel());
    return descriptorModel;
}
Also used : PersistenceUnitModel(org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceUnitModel) PersistenceDescriptorModel(org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceDescriptorModel)

Aggregations

PersistenceDescriptorModel (org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceDescriptorModel)16 Path (org.uberfire.backend.vfs.Path)7 Test (org.junit.Test)5 PersistenceUnitModel (org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceUnitModel)5 Module (org.guvnor.common.services.project.model.Module)4 Metadata (org.guvnor.common.services.shared.metadata.model.Metadata)4 DataObject (org.kie.workbench.common.services.datamodeller.core.DataObject)4 DataObjectImpl (org.kie.workbench.common.services.datamodeller.core.impl.DataObjectImpl)4 DataObjectCreatedEvent (org.kie.workbench.common.screens.datamodeller.events.DataObjectCreatedEvent)3 Property (org.kie.workbench.common.screens.datamodeller.model.persistence.Property)3 PersistenceDescriptorEditorContent (org.kie.workbench.common.screens.datamodeller.model.persistence.PersistenceDescriptorEditorContent)2 AnnotationImpl (org.kie.workbench.common.services.datamodeller.core.impl.AnnotationImpl)2 InputStream (java.io.InputStream)1 ArrayList (java.util.ArrayList)1 Overview (org.guvnor.common.services.shared.metadata.model.Overview)1 Ignore (org.junit.Ignore)1 DataObjectDeletedEvent (org.kie.workbench.common.screens.datamodeller.events.DataObjectDeletedEvent)1 KieModule (org.kie.workbench.common.services.shared.project.KieModule)1 Pair (org.uberfire.commons.data.Pair)1 NodeList (org.w3c.dom.NodeList)1