nl.vpro.domain.gtaa.GTAANewConcept Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gtaa-domain Show documentation
Show all versions of gtaa-domain Show documentation
Contains java bindings for the objects served out by Openskos/GTAA
package nl.vpro.domain.gtaa;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import nl.vpro.openarchives.oai.Label;
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
property = "newObjectType"
)
@JsonSubTypes(
{
@JsonSubTypes.Type(value = GTAANewPerson.class, name = "person"),
@JsonSubTypes.Type(value = GTAANewGenericConcept.class, name = "concept")
})
@XmlSeeAlso({
GTAANewPerson.class,
GTAANewGenericConcept.class
})
public sealed interface GTAANewConcept permits AbstractGTAANewConcept {
String getName();
List getScopeNotes();
Scheme getObjectType();
default List