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 String
ACTION_OBJECTADDED
static String
ACTION_OBJECTREMOVED
static String
ACTION_PROPERTYADDED
static String
ACTION_PROPERTYCHANGED
static String
ACTION_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 String
getAction()
String
getClassName()
String
getGuid()
Object
getNewValue()
int
getNumber()
Object
getPrevValue()
String
getPropName()
String
getPropType()
DocumentReference
getXClassReference()
void
setAction(String action)
void
setClassName(String className)
void
setGuid(String guid)
void
setNewValue(Object newValue)
void
setNumber(int number)
void
setPrevValue(Object prevValue)
void
setPropName(String propName)
void
setPropType(String propType)
void
setXClassReference(DocumentReference xClassReference)
String
toString()
-
-
-
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)
-
-