
rdfreactor.generator.5.0.1.source-code.removeall.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdfreactor.generator Show documentation
Show all versions of rdfreactor.generator Show documentation
RDFReactor creates domain-specific, type-safe Java classes which
act as a view over domain-free, loosely typed RDF instances.
This package generates the Java classes form an RDF vocabulary.
The newest version!
##
## if(mindCard==?)
## generate "removeAll"
##
#if($prop.minCardinality == $UNDEFINED || $prop.minCardinality == 0)
/**
* Removes all values of property {@code #mixedcase(${prop.name})}.
#comment(" " $prop)
* @param model an RDF2Go model
* @param instanceResource an RDF2Go resource
#debug("removeall1static")
*/
public static void removeAll${methodnameprefix}#mixedcase(${prop.name})(Model model, Resource instanceResource) {
Base.removeAll(model, instanceResource, #uppercase(${prop.name}));
}
/**
* Removes all values of property {@code #mixedcase(${prop.name})}.
#comment(" " $prop)
#debug("removeall1dynamic")
*/
public void removeAll${methodnameprefix}#mixedcase(${prop.name})() {
Base.removeAll(this.model, this.getResource(), #uppercase(${prop.name}));
}
#end ###if($prop.minCardinality == $UNDEFINED)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy