public class RequiredPropertiesUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertRequiredContainerTriples(org.apache.jena.rdf.model.Model model)
Throws a ConstraintViolationException if the model does not contain all required server-managed triples for a
container.
|
static void |
assertRequiredDescriptionTriples(org.apache.jena.rdf.model.Model model)
Throws a ConstraintViolationException if the model does not contain all required server-managed triples for a
binary description.
|
public static void assertRequiredContainerTriples(org.apache.jena.rdf.model.Model model) throws ConstraintViolationException
model
- rdf to validateConstraintViolationException
- if model does not contain all required server-managed triples for containerpublic static void assertRequiredDescriptionTriples(org.apache.jena.rdf.model.Model model) throws ConstraintViolationException
model
- rdf to validateConstraintViolationException
- if model does not contain all required server-managed triples for binary
descriptionCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.