Interface Evolvable
-
- All Known Implementing Classes:
EvolvableObject
public interface EvolvableAn interface that can be implemented by data classes in order to support schema evolution.This interface is used in combination with
EvolvableHandlerin order to prevent data loss during serialization across different versions of data classes.- Author:
- Aleks Seovic 2018.05.20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUnknownProperty(String propName, javax.json.JsonValue propValue)Add unknown property to this instance.Map<String,javax.json.JsonValue>unknownProperties()Return a map of unknown properties.
-
-
-
Method Detail
-
addUnknownProperty
void addUnknownProperty(String propName, javax.json.JsonValue propValue)
Add unknown property to this instance.- Parameters:
propName- property namepropValue- property value
-
-