public class SaveResult
extends java.lang.Object
Constructor and Description |
---|
SaveResult(EntityErrorsException exception) |
SaveResult(java.util.List<java.lang.Object> entities,
java.util.List<KeyMapping> keyMappings) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getEntities() |
java.util.List<EntityError> |
getErrors() |
java.util.List<KeyMapping> |
getKeyMappings() |
java.lang.String |
getMessage() |
boolean |
hasErrors() |
void |
setEntities(java.util.List<java.lang.Object> entities) |
void |
setKeyMappings(java.util.List<KeyMapping> keyMappings) |
java.lang.String |
toJson() |
public SaveResult(java.util.List<java.lang.Object> entities, java.util.List<KeyMapping> keyMappings)
public SaveResult(EntityErrorsException exception)
public java.util.List<java.lang.Object> getEntities()
public void setEntities(java.util.List<java.lang.Object> entities)
public java.util.List<KeyMapping> getKeyMappings()
public void setKeyMappings(java.util.List<KeyMapping> keyMappings)
public java.util.List<EntityError> getErrors()
public java.lang.String getMessage()
public boolean hasErrors()
public java.lang.String toJson()