Class GenericEnumAdapter<T extends Enum<T>>
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,T>
org.emau.icmvc.ttp.epix.common.model.enums.GenericEnumAdapter<T>
- Type Parameters:
T-
- Direct Known Subclasses:
BlockingModeAdapter,ContactHistoryEventAdapter,FieldNameAdapter,GenderAdapter,IdentifierDeletionResultAdapter,IdentifierHistoryEventAdapter,IdentityFieldAdapter,IdentityHistoryEventAdapter,IdentityHistoryFieldAdapter,IdentityLinkCreationTypeAdapter,MatchingModeAdapter,MatchStatusAdapter,MatchTypeForSearchAdapter,PersistModeAdapter,PersonFieldAdapter,PersonHistoryEventAdapter,PossibleMatchPriorityAdapter,PossibleMatchSolutionAdapter,RequestSaveActionAdapter,VitalStatusAdapter,VitalStatusTypeAdapter
public abstract class GenericEnumAdapter<T extends Enum<T>>
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,T>
see https://stackoverflow.com/questions/12147306/handling-invalid-enum-values-while-doing-jaxb-unmarshalling
and because of annotations can't be generic an extra class is needed for every enum
and because of annotations can't be generic an extra class is needed for every enum
- Author:
- geidell
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GenericEnumAdapter
public GenericEnumAdapter()
-
-
Method Details