| Package | Description |
|---|---|
| org.javers.core.diff.appenders | |
| org.javers.core.graph | |
| org.javers.core.metamodel.object | |
| org.javers.core.metamodel.type |
| Modifier and Type | Method and Description |
|---|---|
T |
PropertyChangeAppender.calculateChangesIfSupported(NodePair pair,
Property property,
JaversType propertyType)
checks if given property is supported and if so,
delegates calculation to concrete appender in calculateChanges()
|
protected boolean |
ValueChangeAppender.supports(JaversType propertyType) |
protected boolean |
SetChangeAppender.supports(JaversType propertyType) |
protected boolean |
ReferenceChangeAppender.supports(JaversType propertyType) |
protected abstract boolean |
PropertyChangeAppender.supports(JaversType propertyType) |
protected boolean |
MapChangeAppender.supports(JaversType propertyType) |
protected boolean |
ListChangeAppender.supports(JaversType propertyType) |
protected boolean |
ArrayChangeAppender.supports(JaversType propertyType) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends JaversType> |
AbstractMapFunction.getKeyType() |
protected <T extends JaversType> |
AbstractMapFunction.getValueType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
GlobalIdFactory.dehydrate(Object item,
JaversType targetType,
OwnerContext context)
If item is Primitive or Value - returns it,
if item is Entity or ValueObject - returns its globalId,
if item is already instance of GlobalId - returns it.
|
| Constructor and Description |
|---|
DehydrateContainerFunction(JaversType itemType,
GlobalIdFactory globalIdFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayType |
class |
CollectionType |
class |
ContainerType
Collection or Array
|
class |
EntityType
Reference to
Entity |
class |
EntryType |
class |
EnumerableType
Collection or Array or Map
|
class |
ListType |
class |
ManagedType |
class |
MapType |
class |
PrimitiveOrValueType |
class |
PrimitiveType
Primitive or primitive box
|
class |
SetType |
class |
ValueObjectType |
class |
ValueType
Simple value holder.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends JaversType> |
TypeMapper.getMappedTypes(Class<T> ofType) |
<T extends JaversType> |
TypeMapper.getPropertyType(Property property) |
| Modifier and Type | Method and Description |
|---|---|
JaversType |
TypeMapper.getJaversType(Type javaType)
returns mapped type or spawns new one from prototype
or infers new one using default mapping
|
JaversType |
TypeFactory.infer(Type javaType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeMapper.isContainerOfManagedClasses(JaversType javersType)
is Set, List or Array of ManagedClasses
|
Copyright © 2014. All rights reserved.