Package org.mongojack.internal.update
Class ComplexUpdateOperationValue
- java.lang.Object
-
- org.mongojack.internal.update.ComplexUpdateOperationValue
-
- All Implemented Interfaces:
UpdateOperationValue
public class ComplexUpdateOperationValue extends Object implements UpdateOperationValue
A complex update operation value
-
-
Constructor Summary
Constructors Constructor Description ComplexUpdateOperationValue(com.mongodb.DBObject value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mongodb.DBObject
getValue()
Get the valueboolean
isTargetCollection()
Whether the target field for these values is a collection.boolean
requiresSerialization()
Whether the value requires serialization
-
-
-
Method Detail
-
getValue
public com.mongodb.DBObject getValue()
Description copied from interface:UpdateOperationValue
Get the value- Specified by:
getValue
in interfaceUpdateOperationValue
- Returns:
- The value
-
isTargetCollection
public boolean isTargetCollection()
Description copied from interface:UpdateOperationValue
Whether the target field for these values is a collection.- Specified by:
isTargetCollection
in interfaceUpdateOperationValue
- Returns:
- True if the target is a collection, false if otherwise
-
requiresSerialization
public boolean requiresSerialization()
Description copied from interface:UpdateOperationValue
Whether the value requires serialization- Specified by:
requiresSerialization
in interfaceUpdateOperationValue
- Returns:
- True if the value requires serialization, false if otherwise
-
-