Search in sources :

Example 21 with MetaData

use of org.neo4j.ogm.metadata.MetaData in project neo4j-ogm by neo4j.

the class MappingContextTest method setUp.

@Before
public void setUp() {
    this.metaData = new MetaData("org.neo4j.ogm.domain.policy", "org.neo4j.ogm.context", "org.neo4j.ogm.domain.annotations.ids");
    this.mappingContext = new MappingContext(metaData);
}
Also used : MetaData(org.neo4j.ogm.metadata.MetaData) Before(org.junit.Before)

Aggregations

MetaData (org.neo4j.ogm.metadata.MetaData)21 Test (org.junit.Test)11 ClassInfo (org.neo4j.ogm.metadata.ClassInfo)6 MappingContext (org.neo4j.ogm.context.MappingContext)5 ArrayList (java.util.ArrayList)3 Before (org.junit.Before)3 BeforeClass (org.junit.BeforeClass)3 RealNode (org.neo4j.ogm.domain.gh619.model.RealNode)3 Neo4jSession (org.neo4j.ogm.session.Neo4jSession)3 Map (java.util.Map)2 ReflectionEntityInstantiator (org.neo4j.ogm.metadata.reflect.ReflectionEntityInstantiator)2 Serializable (java.io.Serializable)1 Arrays (java.util.Arrays)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Set (java.util.Set)1 AtomicLong (java.util.concurrent.atomic.AtomicLong)1