nl.vpro.domain.gtaa.GTAAGenre 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 io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import java.net.URI;
import java.time.Instant;
import java.util.List;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import nl.vpro.w3.rdf.Description;
@GTAAScheme(Scheme.genre)
@XmlType(name = "genreType",
propOrder = {
"name",
"scopeNotes",
"redirectedFrom"
}
)
@XmlRootElement(name = "genre")
@Schema(name = "GTAAGenre")
public final class GTAAGenre extends AbstractSimpleValueGTAAConcept {
@Serial
private static final long serialVersionUID = 3730679636738125602L;
@lombok.Builder(builderClassName = "Builder")
public GTAAGenre(URI id, List scopeNotes, String value, URI redirectedFrom, Status status, Instant lastModified) {
super(id, scopeNotes, value, redirectedFrom, status, lastModified);
}
public GTAAGenre() {
}
public static GTAAGenre create(Description description) {
final GTAAGenre answer = new GTAAGenre();
fill(description, answer);
return answer;
}
}