Package org.mongojack
Class TestIdAnnotatedClass
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestIdAnnotatedClass
-
public class TestIdAnnotatedClass extends MongoDBTestBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestIdAnnotatedClass.CreatorGetterAnnotated
static class
TestIdAnnotatedClass.CreatorGetterObjectIdAnnotated
static class
TestIdAnnotatedClass.GetterSetterAnnotated
static class
TestIdAnnotatedClass.IdFieldAnnotated
static class
TestIdAnnotatedClass.IdFieldProxyAnnotated
static class
TestIdAnnotatedClass.IdFieldProxyAnnotatedSubclass
static class
TestIdAnnotatedClass.IdGetterSetterProxyAnnotated
static class
TestIdAnnotatedClass.IdGetterSetterProxyAnnotatedSubclass
static class
TestIdAnnotatedClass.JakartaJpaIdFieldAnnotated
static class
TestIdAnnotatedClass.JavaxJpaIdFieldAnnotated
static class
TestIdAnnotatedClass.ObjectIdFieldAnnotated
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestIdAnnotatedClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCreatorGetterAnnotated()
void
testCreatorGetterObjectIdAnnotated()
void
testGetterSetterAnnotated()
void
testIdFieldAnnotated()
void
testJakartaJpaIdFieldAnnotated()
void
testJavaxJpaIdFieldAnnotated()
void
testObjectIdFieldAnnotated()
void
testProxyFieldAnnotated()
void
testProxyFieldAnnotatedIsGeneratedByMongo()
void
testProxyFieldAnnotatedIsGeneratedByMongoSubclass()
void
testProxyFieldAnnotatedSubclass()
void
testProxyFieldAnnotatedWithoutSettingIt()
void
testProxyFieldAnnotatedWithoutSettingItSubclass()
void
testProxyGetterSetterAnnotated()
void
testProxyGetterSetterAnnotatedIsGeneratedByMongo()
void
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass()
void
testProxyGetterSetterAnnotatedSubclass()
void
testProxyGetterSetterAnnotatedWithoutSettingIt()
void
testProxyGetterSetterAnnotatedWithoutSettingItSubclass()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection
-
-
-
-
Method Detail
-
testIdFieldAnnotated
public void testIdFieldAnnotated()
-
testJavaxJpaIdFieldAnnotated
public void testJavaxJpaIdFieldAnnotated()
-
testJakartaJpaIdFieldAnnotated
public void testJakartaJpaIdFieldAnnotated()
-
testGetterSetterAnnotated
public void testGetterSetterAnnotated()
-
testCreatorGetterAnnotated
public void testCreatorGetterAnnotated()
-
testObjectIdFieldAnnotated
public void testObjectIdFieldAnnotated()
-
testCreatorGetterObjectIdAnnotated
public void testCreatorGetterObjectIdAnnotated()
-
testProxyFieldAnnotated
public void testProxyFieldAnnotated()
-
testProxyFieldAnnotatedIsGeneratedByMongo
public void testProxyFieldAnnotatedIsGeneratedByMongo()
-
testProxyFieldAnnotatedWithoutSettingIt
public void testProxyFieldAnnotatedWithoutSettingIt()
-
testProxyFieldAnnotatedSubclass
public void testProxyFieldAnnotatedSubclass()
-
testProxyFieldAnnotatedIsGeneratedByMongoSubclass
public void testProxyFieldAnnotatedIsGeneratedByMongoSubclass()
-
testProxyFieldAnnotatedWithoutSettingItSubclass
public void testProxyFieldAnnotatedWithoutSettingItSubclass()
-
testProxyGetterSetterAnnotated
public void testProxyGetterSetterAnnotated()
-
testProxyGetterSetterAnnotatedIsGeneratedByMongo
public void testProxyGetterSetterAnnotatedIsGeneratedByMongo()
-
testProxyGetterSetterAnnotatedWithoutSettingIt
public void testProxyGetterSetterAnnotatedWithoutSettingIt()
-
testProxyGetterSetterAnnotatedSubclass
public void testProxyGetterSetterAnnotatedSubclass()
-
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass
public void testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass()
-
testProxyGetterSetterAnnotatedWithoutSettingItSubclass
public void testProxyGetterSetterAnnotatedWithoutSettingItSubclass()
-
-