Package | Description |
---|---|
org.jeneva | |
org.jeneva.impl | |
org.jeneva.validation | |
org.jeneva.validation.impl |
Modifier and Type | Method and Description |
---|---|
<T extends Dtobase> |
IMapper.filter(T item,
java.lang.Class<?> type,
byte level)
Recursively goes through fields of the item object and copies selectively field values to the returned object.
|
<T extends Dtobase> |
IMapper.filterList(java.lang.Iterable<T> items,
java.lang.Class<?> type,
byte level)
Recursively goes through fields of each object in collection and copies selectively field values to the returned object.
|
<T extends Dtobase> |
IMapper.map(T source,
java.lang.Class<?> type)
Recursively goes through the source object's fields and assigns parent object back-reference if needed.
|
<T extends Dtobase> |
IMapper.mapCollection(java.lang.Iterable<T> source,
java.lang.Class<?> type)
Recursively goes through the source object's collection fields and assigns back-reference if needed.
|
<T extends Dtobase> |
IMapper.mapTo(T source,
T dest,
java.lang.Class<?> type)
Recursively copies fields from source object to the dest object according to Jeneva rules
Only assigned fields are copied.
|
<T extends Dtobase> |
IMapper.mapToCollection(java.util.Collection<T> source,
java.util.Collection<T> dest,
java.lang.Class<?> type,
T parent)
Recursively copies objects' fields from source collection to the dest collection according to Jeneva rules.
|
<T extends Dtobase> |
IJsonParser.parse(org.codehaus.jackson.JsonNode data,
java.lang.Class<?> type)
Parses JSON data into domain object
|
<T extends Dtobase> |
IJsonParser.parseList(org.codehaus.jackson.JsonNode data,
java.lang.Class<?> type)
Parses JSON data into a list of domain objects
|
Modifier and Type | Method and Description |
---|---|
<T extends Dtobase> |
Mapper.filter(T item,
java.lang.Class<?> type,
byte level)
Recursively goes through fields of the item object and copies selectively field values to the returned object.
|
<T extends Dtobase> |
Mapper.filterList(java.lang.Iterable<T> items,
java.lang.Class<?> type,
byte level)
Recursively goes through fields of each object in collection and copies selectively field values to the returned object.
|
<T extends Dtobase> |
Mapper.map(T source,
java.lang.Class<?> type)
Recursively goes through the source object's fields and assigns back-reference if needed.
|
<T extends Dtobase> |
Mapper.mapCollection(java.lang.Iterable<T> source,
java.lang.Class<?> type)
Recursively goes through the source object's collection fields and assigns back-reference if needed.
|
<T extends Dtobase> |
Mapper.mapTo(T source,
T dest,
java.lang.Class<?> type)
Recursively copies fields from source object to the dest object according to Jeneva rules
Only assigned fields are copied.
|
<T extends Dtobase> |
Mapper.mapToCollection(java.util.Collection<T> source,
java.util.Collection<T> dest,
java.lang.Class<?> type,
T parent)
Recursively copies objects' fields from source collection to the dest collection according to Jeneva rules.
|
<T extends Dtobase> |
JsonParser.parse(org.codehaus.jackson.JsonNode data,
java.lang.Class<?> type)
Parses JSON data into domain object
|
<T extends Dtobase> |
JsonParser.parseList(org.codehaus.jackson.JsonNode data,
java.lang.Class<?> type)
Parses JSON data into a list of domain objects
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyMeta.isAssigned(Dtobase target)
Determines if the property instance is assigned by JSON deserializer
|
java.lang.Object |
PropertyMeta.read(Dtobase target)
Reads property value
|
void |
PropertyMeta.write(Dtobase target,
java.lang.Object value)
Assigns value to the property
|
Modifier and Type | Method and Description |
---|---|
Dtobase |
IPathHelper.getTopNodeTarget(java.util.Deque<PathNode> path)
Gets top node target object
|
Modifier and Type | Method and Description |
---|---|
boolean |
IChecker.isAssigned(java.lang.String fieldName,
Dtobase target)
Checks if field value is assigned
|
boolean |
IChecker.isValidFormat(java.lang.String fieldName,
Dtobase target)
Checks if field value was correctly parsed
|
void |
IJenevaValidationContext.setTarget(Dtobase value)
Sets current target object
|
void |
IPathHelper.setTopNodeTarget(java.util.Deque<PathNode> path,
Dtobase target)
Sets top node target object
|
Modifier and Type | Method and Description |
---|---|
Dtobase |
PathNode.getTarget()
Gets node target object
|
Dtobase |
PathHelper.getTopNodeTarget(java.util.Deque<PathNode> path)
Gets top node target object
|
Modifier and Type | Method and Description |
---|---|
boolean |
Checker.isAssigned(java.lang.String fieldName,
Dtobase target)
Checks if field value is assigned
|
boolean |
Checker.isValidFormat(java.lang.String fieldName,
Dtobase target)
Checks if field value was correctly parsed
|
void |
PathNode.setTarget(Dtobase value)
Sets node target object
|
void |
JenevaValidationContext.setTarget(Dtobase value)
Sets current target object
|
void |
PathHelper.setTopNodeTarget(java.util.Deque<PathNode> path,
Dtobase target)
Sets top node target object
|