public interface ObjectHelper
Modifier and Type | Method and Description |
---|---|
void |
assertStateEquals(HasObjectHelper other)
Used to compare the state of entity objects or value objects with different classes.
|
void |
assertStateNotEquals(HasObjectHelper other)
Used to compare the state of entity objects or value objects with different classes.
|
Object[] |
classAndFieldValues()
Exposed for class and state comparison.
|
boolean |
classAndStateEquals(Object otherObject)
Implements equals for value objects
|
int |
classAndStateHash()
Implements hashCode for value objects
|
String |
classAndStateString()
Implements toString for both entity and value objects
|
com.google.common.collect.ImmutableMap<String,Object> |
fieldMap()
Exposed for conveninece.
|
Object[] |
fieldValues()
Exposed for state comparison.
|
String classAndStateString()
boolean classAndStateEquals(Object otherObject)
int classAndStateHash()
Object[] classAndFieldValues()
Object[] fieldValues()
void assertStateEquals(HasObjectHelper other)
void assertStateNotEquals(HasObjectHelper other)
Copyright © 2014. All rights reserved.