public class ModuleImpl extends AbstractSPINResourceImpl implements Module
INDENTATION| Constructor and Description |
|---|
ModuleImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph eg) |
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
getArguments(boolean ordered)
Gets a List of all declared Arguments.
|
Map<String,Argument> |
getArgumentsMap()
Gets a Map of variable names to Arguments.
|
Command |
getBody()
Gets the body (if defined).
|
String |
getComment()
Gets the rdfs:comment of this (if any).
|
boolean |
isAbstract()
Checks if this Module has been declared to be abstract using spin:abstract.
|
void |
print(PrintContext p)
Instructs this to print itself into a given PrintContext.
|
getElements, getElements, getList, hasRDFType, printComment, printNestedElementList, printNestedElementList, printNestedExpressionString, printNestedExpressionString, printPrefixes, printVariableExpression, printVariableExpression, printVarOrResource, toStringgetInteger, getLiteral, getLong, getRDFNode, getResource, getString, inferRDFNodeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic ModuleImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph eg)
public List<Argument> getArguments(boolean ordered)
ModulegetArguments in interface Moduleordered - true to get an ordered list back (slower)public Map<String,Argument> getArgumentsMap()
ModulegetArgumentsMap in interface Modulepublic Command getBody()
Modulepublic String getComment()
ModulegetComment in interface ModulegetComment in class AbstractSPINResourceImplpublic boolean isAbstract()
ModuleisAbstract in interface Modulepublic void print(PrintContext p)
PrintableCopyright © 2017 TopQuadrant, Inc.. All rights reserved.