All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rdfreactor.generator.5.0.0.source-code.removeall.vm Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 5.0.1
Show 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 - 2024 Weber Informatics LLC | Privacy Policy