Class AbstractUnmarshalPostprocessor<T extends com.nedap.archie.rm.RMObject>
java.lang.Object
org.ehrbase.openehr.sdk.serialisation.flatencoding.std.umarshal.postprocessor.AbstractUnmarshalPostprocessor<T>
- All Implemented Interfaces:
UnmarshalPostprocessor<T>,ClassDependent<T>
- Direct Known Subclasses:
ActionPostprocessor,ActivityPostprocessor,CareEntryPostprocessor,DvAmountPostprocessor,DvEncapsulatedPostprocessor,DvIntervalPostprocessor,DvMultimediaPostprocessor,DvOrderedPostprocessor,DvOuantifiedPostprocessor,DvTemporalPostprocessor,DvTextPostprocessor,ElementPostprocessor,EntryPostprocessor,EventContextUnmarshalPostprocessor,FeederAuditDetailsPostprocessor,FeederAuditPostprocessor,HistoryPostprocessor,InstructionPostprocessor,IntervalEventPostprocessor,IsmTransitionPostprocessor,LocatableUnmarshalPostprocessor,PartyProxyPostprocessor,PartyRelatedPostprocessor
public abstract class AbstractUnmarshalPostprocessor<T extends com.nedap.archie.rm.RMObject>
extends Object
implements UnmarshalPostprocessor<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcallPostProcess(String term, String subTerm, com.nedap.archie.rm.RMObject rmObject, Map<FlatPathDto, String> values, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, WebTemplateNode subNode) protected voidcallUnmarshal(String term, String subTerm, com.nedap.archie.rm.RMObject rmObject, Map<FlatPathDto, String> values, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, WebTemplateNode subNode) protected voidhandleRmAttribute(String currentTerm, com.nedap.archie.rm.RMObject rmObject, Map<FlatPathDto, String> values, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, String attributeId) protected voidsetParty(String currentTerm, Consumer<com.nedap.archie.rm.generic.PartyProxy> partyConsumer, Map<FlatPathDto, String> currentValues, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, String id, boolean allowPartySelf) protected <S> voidsetValue(String term, String propertyName, Map<FlatPathDto, String> values, Consumer<S> consumer, Class<S> clazz, Set<String> consumedPaths) Sets theconsumerto the value invaluescorresponding totermandpropertyNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ehrbase.openehr.sdk.util.reflection.ClassDependent
getAssociatedClassMethods inherited from interface org.ehrbase.openehr.sdk.serialisation.flatencoding.std.umarshal.postprocessor.UnmarshalPostprocessor
process
-
Constructor Details
-
AbstractUnmarshalPostprocessor
public AbstractUnmarshalPostprocessor()
-
-
Method Details
-
setValue
protected <S> void setValue(String term, String propertyName, Map<FlatPathDto, String> values, Consumer<S> consumer, Class<S> clazz, Set<String> consumedPaths) Sets theconsumerto the value invaluescorresponding totermandpropertyName- Type Parameters:
S-- Parameters:
term-propertyName-values-consumer-clazz-consumedPaths-
-
handleRmAttribute
-
callUnmarshal
protected void callUnmarshal(String term, String subTerm, com.nedap.archie.rm.RMObject rmObject, Map<FlatPathDto, String> values, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, WebTemplateNode subNode) -
callPostProcess
protected void callPostProcess(String term, String subTerm, com.nedap.archie.rm.RMObject rmObject, Map<FlatPathDto, String> values, Set<String> consumedPaths, Context<Map<FlatPathDto, String>> context, WebTemplateNode subNode) -
setParty
-