Class SerializableEnumInteractionId<E extends Enum<E> & InteractionId>
java.lang.Object
org.openehealth.ipf.commons.ihe.core.SerializableEnumInteractionId<E>
- All Implemented Interfaces:
Serializable
,InteractionId
public class SerializableEnumInteractionId<E extends Enum<E> & InteractionId>
extends Object
implements Serializable, InteractionId
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Enum<E> & InteractionId>
SerializableEnumInteractionIdcreate
(E interactionId) Create a serializable version of the givenInteractionId
-
Method Details
-
create
public static <E extends Enum<E> & InteractionId> SerializableEnumInteractionId create(E interactionId) Create a serializable version of the givenInteractionId
- Type Parameters:
E
- interaction ID type, which must be an enum- Parameters:
interactionId
- interactionID- Returns:
- serializable version of the given
InteractionId
-
getInteractionId
- Returns:
- the (non-serializable) interactionId
-