Class Difference
- java.lang.Object
-
- com.priint.pubserver.comet.entity.Difference
-
public class Difference extends java.lang.ObjectThe type Difference. Internal use only.
-
-
Constructor Summary
Constructors Constructor Description Difference()Instantiates a new Difference.Difference(java.lang.Object left, java.lang.Object right)Instantiates a new Difference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String propertyName, java.lang.Object left, java.lang.Object right)Add.java.util.List<DifferenceType>getDiff()Gets diff.java.lang.ObjectgetLeft()Gets left.java.lang.ObjectgetRight()Gets right.voidsetDiff(java.util.List<DifferenceType> diff)Sets diff.voidsetLeft(java.lang.Object left)Sets left.voidsetRight(java.lang.Object right)Sets right.java.lang.StringtoString()
-
-
-
Method Detail
-
add
public void add(java.lang.String propertyName, java.lang.Object left, java.lang.Object right)Add.- Parameters:
propertyName- the property nameleft- the leftright- the right
-
getDiff
public java.util.List<DifferenceType> getDiff()
Gets diff.- Returns:
- the diff
-
getLeft
public java.lang.Object getLeft()
Gets left.- Returns:
- the left
-
getRight
public java.lang.Object getRight()
Gets right.- Returns:
- the right
-
setDiff
public void setDiff(java.util.List<DifferenceType> diff)
Sets diff.- Parameters:
diff- the diff
-
setLeft
public void setLeft(java.lang.Object left)
Sets left.- Parameters:
left- the left
-
setRight
public void setRight(java.lang.Object right)
Sets right.- Parameters:
right- the right
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-