nl.vpro.domain.gtaa.GTAATopic 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;
/**
* @author Michiel Meeuwissen
* @since 5.5
*/
@GTAAScheme(Scheme.topic)
@XmlType(name = "topicType",
propOrder = {
"name",
"scopeNotes",
"redirectedFrom"
}
)
@XmlRootElement(name = "topic")
@Schema(name = "GTAATopic")
public final class GTAATopic extends AbstractSimpleValueGTAAConcept {
@Serial
private static final long serialVersionUID = -6679803582581099101L;
@lombok.Builder(builderClassName = "Builder")
public GTAATopic(URI id, List scopeNotes, String value, URI redirectedFrom, Status status, Instant lastModified) {
super(id, scopeNotes, value, redirectedFrom, status, lastModified);
}
public GTAATopic() {
}
public static GTAATopic create(Description description) {
final GTAATopic answer = new GTAATopic();
fill(description, answer);
return answer;
}
}