public class ItemChange
extends java.lang.Object
| Constructor and Description |
|---|
ItemChange()
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
java.util.List<Property> propertiesToSet)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
java.util.List<Property> propertiesToSet,
java.util.List<PropertyPath> propertiesToDelete)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
java.util.List<Property> propertiesToSet,
java.util.List<PropertyPath> propertiesToDelete,
java.util.List<Property> propertiesToAppend)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
Property propertyToSet)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
PropertyPath propertyToDelete)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
Property propertyToSet,
Property propertyToAppend)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
Property propertyToSet,
PropertyPath propertyToDelete)
Initializes a new instance of the ItemChange class.
|
ItemChange(ItemId itemId,
Property propertyToSet,
PropertyPath propertyToDelete,
Property propertyToAppend)
Initializes a new instance of the ItemChange class.
|
| Modifier and Type | Method and Description |
|---|---|
ItemId |
getItemId()
Gets the unique identifier and change key of an item in the Exchange store.
|
java.util.List<Property> |
getPropertiesToAppend()
Gets data to append to a single property of an item during an UpdateItem Operation.
|
java.util.List<PropertyPath> |
getPropertiesToDelete()
Gets an operation to delete a given property from an item during an UpdateItem call.
|
java.util.List<Property> |
getPropertiesToSet()
Gets an update to a single property of an item.
|
void |
setItemId(ItemId itemId)
Sets the unique identifier and change key of an item in the Exchange store.
|
java.lang.String |
toString()
Converts the value of the current ItemChange object to its equivalent string representation.
|
public ItemChange()
public ItemChange(ItemId itemId)
itemId - the item idpublic ItemChange(ItemId itemId, Property propertyToSet)
itemId - the item idpropertyToSet - the property to setpublic ItemChange(ItemId itemId, PropertyPath propertyToDelete)
itemId - the item idpropertyToDelete - the property to deletepublic ItemChange(ItemId itemId, Property propertyToSet, PropertyPath propertyToDelete)
itemId - the item idpropertyToSet - the property to setpropertyToDelete - the property to deletepublic ItemChange(ItemId itemId, Property propertyToSet, Property propertyToAppend)
itemId - the item idpropertyToSet - the property to setpropertyToAppend - the property to appendpublic ItemChange(ItemId itemId, Property propertyToSet, PropertyPath propertyToDelete, Property propertyToAppend)
itemId - the item idpropertyToSet - the property to setpropertyToDelete - the property to deletepropertyToAppend - the property to appendpublic ItemChange(ItemId itemId, java.util.List<Property> propertiesToSet)
itemId - the item idpropertiesToSet - the properties to setpublic ItemChange(ItemId itemId, java.util.List<Property> propertiesToSet, java.util.List<PropertyPath> propertiesToDelete)
itemId - the item idpropertiesToSet - the properties to setpropertiesToDelete - the properties to deletepublic ItemChange(ItemId itemId, java.util.List<Property> propertiesToSet, java.util.List<PropertyPath> propertiesToDelete, java.util.List<Property> propertiesToAppend)
itemId - the item idpropertiesToSet - the properties to setpropertiesToDelete - the properties to deletepropertiesToAppend - the properties to appendpublic java.lang.String toString()
toString in class java.lang.Objectpublic ItemId getItemId()
public void setItemId(ItemId itemId)
itemId - the new item idpublic java.util.List<Property> getPropertiesToSet()
public java.util.List<PropertyPath> getPropertiesToDelete()
public java.util.List<Property> getPropertiesToAppend()