Package com.xpn.xwiki.objects
Class ObjectDiff
- java.lang.Object
-
- com.xpn.xwiki.objects.ObjectDiff
-
public class ObjectDiff extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTION_OBJECTADDEDstatic StringACTION_OBJECTREMOVEDstatic StringACTION_PROPERTYADDEDstatic StringACTION_PROPERTYCHANGEDstatic StringACTION_PROPERTYREMOVED
-
Constructor Summary
Constructors Constructor Description ObjectDiff(String className, int number, String action, String propName, Object prevValue, Object newValue)Deprecated.ObjectDiff(String className, int number, String guid, String action, String propName, String propType, Object prevValue, Object newValue)Deprecated.ObjectDiff(DocumentReference xClassReference, int number, String guid, String action, String propName, String propType, Object prevValue, Object newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()StringgetClassName()StringgetGuid()ObjectgetNewValue()intgetNumber()ObjectgetPrevValue()StringgetPropName()StringgetPropType()DocumentReferencegetXClassReference()voidsetAction(String action)voidsetClassName(String className)voidsetGuid(String guid)voidsetNewValue(Object newValue)voidsetNumber(int number)voidsetPrevValue(Object prevValue)voidsetPropName(String propName)voidsetPropType(String propType)voidsetXClassReference(DocumentReference xClassReference)StringtoString()
-
-
-
Field Detail
-
ACTION_PROPERTYADDED
public static final String ACTION_PROPERTYADDED
- See Also:
- Constant Field Values
-
ACTION_PROPERTYCHANGED
public static final String ACTION_PROPERTYCHANGED
- See Also:
- Constant Field Values
-
ACTION_PROPERTYREMOVED
public static final String ACTION_PROPERTYREMOVED
- See Also:
- Constant Field Values
-
ACTION_OBJECTADDED
public static final String ACTION_OBJECTADDED
- See Also:
- Constant Field Values
-
ACTION_OBJECTREMOVED
public static final String ACTION_OBJECTREMOVED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectDiff
@Deprecated public ObjectDiff(String className, int number, String action, String propName, Object prevValue, Object newValue)
Deprecated.
-
ObjectDiff
@Deprecated public ObjectDiff(String className, int number, String guid, String action, String propName, String propType, Object prevValue, Object newValue)
Deprecated.
-
-
Method Detail
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getXClassReference
public DocumentReference getXClassReference()
-
setXClassReference
public void setXClassReference(DocumentReference xClassReference)
-
getNumber
public int getNumber()
-
setNumber
public void setNumber(int number)
-
getGuid
public String getGuid()
-
setGuid
public void setGuid(String guid)
-
getPropName
public String getPropName()
-
setPropName
public void setPropName(String propName)
-
getPropType
public String getPropType()
-
setPropType
public void setPropType(String propType)
-
getPrevValue
public Object getPrevValue()
-
setPrevValue
public void setPrevValue(Object prevValue)
-
getNewValue
public Object getNewValue()
-
setNewValue
public void setNewValue(Object newValue)
-
getAction
public String getAction()
-
setAction
public void setAction(String action)
-
-