Package org.mongojack.mock
Class MockObject
- java.lang.Object
-
- org.mongojack.mock.MockObject
-
public class MockObject extends Object
Test object with one of each field
-
-
Field Summary
Fields Modifier and Type Field Description String
_id
BigDecimal
bigDecimal
BigInteger
bigInteger
Boolean
booleans
Calendar
calendar
List<MockEmbeddedObject>
complexList
Date
date
Double
doubles
Float
floats
Integer
integer
Long
longs
MockEmbeddedObject
object
List<String>
simpleList
String
string
-
Constructor Summary
Constructors Constructor Description MockObject()
MockObject(String string, Integer integer)
MockObject(String _id, String string, Integer integer)
-
-
-
Field Detail
-
_id
public String _id
-
string
public String string
-
integer
public Integer integer
-
longs
public Long longs
-
bigInteger
public BigInteger bigInteger
-
floats
public Float floats
-
doubles
public Double doubles
-
bigDecimal
public BigDecimal bigDecimal
-
booleans
public Boolean booleans
-
date
public Date date
-
calendar
public Calendar calendar
-
complexList
public List<MockEmbeddedObject> complexList
-
object
public MockEmbeddedObject object
-
-