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 Details

    • create

      public static <E extends Enum<E> & InteractionId> SerializableEnumInteractionId<E> create(E interactionId)
      Create a serializable version of the given InteractionId
      Type Parameters:
      E - interaction ID type, which must be an enum
      Parameters:
      interactionId - interactionID
      Returns:
      serializable version of the given InteractionId
    • getInteractionId

      public E getInteractionId()
      Returns:
      the (non-serializable) interactionId
    • getTransactionConfiguration

      public TransactionConfiguration getTransactionConfiguration()
      Description copied from interface: InteractionId
      Returns the configuration of the transaction this interaction ID stands for, irrespective of the kind of transaction. Sub-interfaces provide a type-safe accessor of their own and override this method to delegate to it; this method exists for generic code that must not know which kind of transaction it is dealing with.
      Specified by:
      getTransactionConfiguration in interface InteractionId
      Returns:
      the transaction configuration