no.unit.nva.model.time.duration.Duration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nva-datamodel-java Show documentation
Show all versions of nva-datamodel-java Show documentation
The java version of the NVA datamodel
package no.unit.nva.model.time.duration;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonSubTypes({@JsonSubTypes.Type(name = "DefinedDuration", value = DefinedDuration.class),
@JsonSubTypes.Type(name = "UndefinedDuration", value = UndefinedDuration.class),
@JsonSubTypes.Type(name = "NullDuration", value = NullDuration.class),})
public interface Duration {
}