Search in sources :

Example 1 with AbstractCollectionMetadataFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade in project jbosstools-hibernate by jbosstools.

the class CollectionMetadataFacadeTest method setUp.

@Before
public void setUp() {
    CollectionMetadata target = (CollectionMetadata) Proxy.newProxyInstance(FACADE_FACTORY.getClassLoader(), new Class[] { CollectionMetadata.class }, new TestInvocationHandler());
    collectionMetadata = new AbstractCollectionMetadataFacade(FACADE_FACTORY, target) {
    };
}
Also used : CollectionMetadata(org.hibernate.metadata.CollectionMetadata) ICollectionMetadata(org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata) AbstractCollectionMetadataFacade(org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade) Before(org.junit.Before)

Example 2 with AbstractCollectionMetadataFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade in project jbosstools-hibernate by jbosstools.

the class CollectionMetadataFacadeTest method setUp.

@Before
public void setUp() {
    CollectionMetadata target = (CollectionMetadata) Proxy.newProxyInstance(FACADE_FACTORY.getClassLoader(), new Class[] { CollectionMetadata.class }, new TestInvocationHandler());
    collectionMetadata = new AbstractCollectionMetadataFacade(FACADE_FACTORY, target) {
    };
}
Also used : CollectionMetadata(org.hibernate.metadata.CollectionMetadata) ICollectionMetadata(org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata) AbstractCollectionMetadataFacade(org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade) Before(org.junit.Before)

Example 3 with AbstractCollectionMetadataFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade in project jbosstools-hibernate by jbosstools.

the class CollectionMetadataFacadeTest method setUp.

@Before
public void setUp() {
    CollectionMetadata target = (CollectionMetadata) Proxy.newProxyInstance(FACADE_FACTORY.getClassLoader(), new Class[] { CollectionMetadata.class }, new TestInvocationHandler());
    collectionMetadata = new AbstractCollectionMetadataFacade(FACADE_FACTORY, target) {
    };
}
Also used : CollectionMetadata(org.hibernate.metadata.CollectionMetadata) ICollectionMetadata(org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata) AbstractCollectionMetadataFacade(org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade) Before(org.junit.Before)

Example 4 with AbstractCollectionMetadataFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade in project jbosstools-hibernate by jbosstools.

the class CollectionMetadataFacadeTest method setUp.

@Before
public void setUp() {
    CollectionMetadata target = (CollectionMetadata) Proxy.newProxyInstance(FACADE_FACTORY.getClassLoader(), new Class[] { CollectionMetadata.class }, new TestInvocationHandler());
    collectionMetadata = new AbstractCollectionMetadataFacade(FACADE_FACTORY, target) {
    };
}
Also used : CollectionMetadata(org.hibernate.metadata.CollectionMetadata) ICollectionMetadata(org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata) AbstractCollectionMetadataFacade(org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade) Before(org.junit.Before)

Example 5 with AbstractCollectionMetadataFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade in project jbosstools-hibernate by jbosstools.

the class CollectionMetadataFacadeTest method setUp.

@Before
public void setUp() {
    CollectionMetadata target = (CollectionMetadata) Proxy.newProxyInstance(FACADE_FACTORY.getClassLoader(), new Class[] { CollectionMetadata.class }, new TestInvocationHandler());
    collectionMetadata = new AbstractCollectionMetadataFacade(FACADE_FACTORY, target) {
    };
}
Also used : CollectionMetadata(org.hibernate.metadata.CollectionMetadata) ICollectionMetadata(org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata) AbstractCollectionMetadataFacade(org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade) Before(org.junit.Before)

Aggregations

CollectionMetadata (org.hibernate.metadata.CollectionMetadata)8 AbstractCollectionMetadataFacade (org.jboss.tools.hibernate.runtime.common.AbstractCollectionMetadataFacade)8 ICollectionMetadata (org.jboss.tools.hibernate.runtime.spi.ICollectionMetadata)8 Before (org.junit.Before)8