public abstract class PropertyChangeAppender<T extends PropertyChange> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Set<Class<JaversType>> |
COLLECTION_TYPES |
protected static Set<Class<JaversType>> |
ENTITY_REF_TYPES |
protected static Set<Class<JaversType>> |
VALUE_TYPES |
| Constructor and Description |
|---|
PropertyChangeAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<T> |
calculateChanges(NodePair pair,
Property supportedProperty) |
Collection<T> |
calculateChangesIfSupported(NodePair pair,
Property property)
checks if given property is supported and if so,
delegates calculation to concrete appender in calculateChanges()
|
protected abstract Set<Class<JaversType>> |
getSupportedPropertyTypes() |
protected boolean |
supports(Property property) |
protected static final Set<Class<JaversType>> COLLECTION_TYPES
protected static final Set<Class<JaversType>> VALUE_TYPES
protected static final Set<Class<JaversType>> ENTITY_REF_TYPES
public final Collection<T> calculateChangesIfSupported(NodePair pair, Property property)
protected boolean supports(Property property)
protected abstract Set<Class<JaversType>> getSupportedPropertyTypes()
protected abstract Collection<T> calculateChanges(NodePair pair, Property supportedProperty)
Copyright © 2013. All rights reserved.