Class ComplexUpdateOperationValue
java.lang.Object
org.mongojack.internal.update.ComplexUpdateOperationValue
- All Implemented Interfaces:
UpdateOperationValue
A complex update operation value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mongodb.DBObjectgetValue()Get the valuebooleanWhether the target field for these values is a collection.booleanWhether the value requires serialization
-
Constructor Details
-
ComplexUpdateOperationValue
public ComplexUpdateOperationValue(com.mongodb.DBObject value)
-
-
Method Details
-
getValue
public com.mongodb.DBObject getValue()Description copied from interface:UpdateOperationValueGet the value- Specified by:
getValuein interfaceUpdateOperationValue- Returns:
- The value
-
isTargetCollection
public boolean isTargetCollection()Description copied from interface:UpdateOperationValueWhether the target field for these values is a collection.- Specified by:
isTargetCollectionin interfaceUpdateOperationValue- Returns:
- True if the target is a collection, false if otherwise
-
requiresSerialization
public boolean requiresSerialization()Description copied from interface:UpdateOperationValueWhether the value requires serialization- Specified by:
requiresSerializationin interfaceUpdateOperationValue- Returns:
- True if the value requires serialization, false if otherwise
-