no.unit.nva.model.pages.Pages 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.pages;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import no.unit.nva.model.time.Period;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Range", value = Range.class),
@JsonSubTypes.Type(name = "MonographPages", value = MonographPages.class),
@JsonSubTypes.Type(name = "Period", value = Period.class)
})
public interface Pages {
// A marker pattern interface, it may be useful later, at the moment it remains empty.
}