public class EventTypePatch
extends Object
Constructor and Description |
---|
EventTypePatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
OperationEnum |
getOp()
Type of the operation to be made
|
String |
getPath()
Identifying a specific attribute/field whereon the operation should be made
|
String |
getValue()
New value for the given attribute or the field, that should be added,
depending on the *op* value
|
int |
hashCode() |
EventTypePatch |
op(OperationEnum op)
Returns an EventTypePatch instance initialized with operation like Add or Replace
|
EventTypePatch |
path(String path) |
void |
setOperation(OperationEnum op) |
void |
setPath(String path) |
void |
setValue(String value) |
String |
toString() |
EventTypePatch |
value(String value) |
public EventTypePatch op(OperationEnum op)
op
- operation (Add or Replace)public OperationEnum getOp()
public void setOperation(OperationEnum op)
public EventTypePatch path(String path)
public String getPath()
public void setPath(String path)
public EventTypePatch value(String value)
public String getValue()
public void setValue(String value)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object