Package org.somda.sdc.common.util
Class TimestampAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<BigInteger,Instant>
-
- org.somda.sdc.common.util.TimestampAdapter
-
public class TimestampAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<BigInteger,Instant>
Adapter class to convert Participant Model timestamps to Java instants and vice versa.
-
-
Constructor Summary
Constructors Constructor Description TimestampAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegermarshal(Instant v)Instantunmarshal(BigInteger v)
-
-
-
Method Detail
-
unmarshal
public Instant unmarshal(BigInteger v)
- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<BigInteger,Instant>
-
marshal
public BigInteger marshal(Instant v)
- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<BigInteger,Instant>
-
-