nl.vpro.domain.gtaa.GTAAName 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.name)
@XmlType(name = "nameType",
propOrder = {
"name",
"scopeNotes",
"redirectedFrom"
}
)
@XmlRootElement(name = "name")
@Schema(name = "GTAAName")
public final class GTAAName extends AbstractSimpleValueGTAAConcept {
@Serial
private static final long serialVersionUID = -1455173916923895447L;
@lombok.Builder(builderClassName = "Builder")
public GTAAName(URI id, List scopeNotes, String value, URI redirectedFrom, Status status, Instant lastModified) {
super(id, scopeNotes, value, redirectedFrom, status, lastModified);
}
public GTAAName() {
}
public static GTAAName create(Description description) {
final GTAAName answer = new GTAAName();
fill(description, answer);
return answer;
}
}