Class TemplateImpl
java.lang.Object
org.apache.jena.enhanced.Polymorphic<org.apache.jena.rdf.model.RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.apache.jena.ontology.impl.OntResourceImpl
org.apache.jena.ontology.impl.OntClassImpl
com.atomgraph.processor.model.impl.TemplateImpl
- All Implemented Interfaces:
Template,org.apache.jena.graph.FrontsNode,org.apache.jena.ontology.OntClass,org.apache.jena.ontology.OntResource,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
- Author:
- Martynas Jusevičius <martynas@atomgraph.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.ontology.impl.OntResourceImpl
org.apache.jena.ontology.impl.OntResourceImpl.LangTagFilter -
Field Summary
FieldsFields inherited from class org.apache.jena.ontology.impl.OntResourceImpl
KNOWN_LANGUAGESFields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
rdfNodeFactoryFields inherited from class org.apache.jena.enhanced.EnhNode
enhGraph, nodeFields inherited from interface com.atomgraph.processor.model.Template
COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionTemplateImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph g) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.CacheControlReturnsCache-ControlHTTP header value, specified on an ontology class with given property.getLanguages(Template template, org.apache.jena.rdf.model.Property property) org.apache.jena.rdf.model.Resourceorg.glassfish.jersey.uri.UriTemplategetMatch()org.apache.jena.rdf.model.ResourcegetQuery()getSelfOrSuperWithProperty(org.apache.jena.rdf.model.Property property) Returns this template or the first template in the super-template chain that has the specified property.getSuperTemplates(Template template) org.apache.jena.rdf.model.ResourcetoString()Methods inherited from class org.apache.jena.ontology.impl.OntClassImpl
addDisjointWith, addEquivalentClass, addSubClass, addSuperClass, asComplementClass, asEnumeratedClass, asIntersectionClass, asRestriction, asUnionClass, canProveSuperClass, convertToComplementClass, convertToEnumeratedClass, convertToIntersectionClass, convertToRestriction, convertToUnionClass, createIndividual, createIndividual, dropIndividual, getDisjointWith, getEquivalentClass, getSubClass, getSuperClass, hasDeclaredProperty, hasEquivalentClass, hasSubClass, hasSubClass, hasSubClass, hasSuperClass, hasSuperClass, hasSuperClass, hasSuperClassDirect, isComplementClass, isDisjointWith, isEnumeratedClass, isHierarchyRoot, isIntersectionClass, isRestriction, isUnionClass, listAllProperties, listDeclaredProperties, listDeclaredProperties, listDisjointWith, listEquivalentClasses, listInstances, listInstances, listSubClasses, listSubClasses, listSuperClasses, listSuperClasses, removeDisjointWith, removeEquivalentClass, removeSubClass, removeSuperClass, setDisjointWith, setEquivalentClass, setSubClass, setSuperClass, testDomainMethods inherited from class org.apache.jena.ontology.impl.OntResourceImpl
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addListPropertyValue, addPropertyValue, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asDatatypeProperty, asIndividual, asObjectProperty, asOntology, asProperty, checkProfile, convertToType, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasPropertyValue, hasRDFType, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasType, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDatatypeProperty, isDefinedBy, isDifferentFrom, isIndividual, isObjectProperty, isOntLanguageTerm, isOntology, isProperty, isSameAs, langTagMatch, listAs, listComments, listDifferentFrom, listDirectPropertyValues, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, objectAs, objectAsInt, objectAsProperty, objectAsResource, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removePropertyValue, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, selectLang, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfoMethods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
abort, 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, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithMethods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, isValid, viewAsMethods inherited from class org.apache.jena.enhanced.Polymorphic
addView, alreadyHasView, asInternal, supportsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.ontology.OntClass
addDisjointWith, addEquivalentClass, addSubClass, addSuperClass, asComplementClass, asEnumeratedClass, asIntersectionClass, asRestriction, asUnionClass, convertToComplementClass, convertToEnumeratedClass, convertToIntersectionClass, convertToRestriction, convertToUnionClass, createIndividual, createIndividual, dropIndividual, getDisjointWith, getEquivalentClass, getSubClass, getSuperClass, hasDeclaredProperty, hasEquivalentClass, hasSubClass, hasSubClass, hasSubClass, hasSuperClass, hasSuperClass, hasSuperClass, isComplementClass, isDisjointWith, isEnumeratedClass, isHierarchyRoot, isIntersectionClass, isRestriction, isUnionClass, listDeclaredProperties, listDeclaredProperties, listDisjointWith, listEquivalentClasses, listInstances, listInstances, listSubClasses, listSubClasses, listSuperClasses, listSuperClasses, removeDisjointWith, removeEquivalentClass, removeSubClass, removeSuperClass, setDisjointWith, setEquivalentClass, setSubClass, setSuperClassMethods inherited from interface org.apache.jena.ontology.OntResource
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asDatatypeProperty, asIndividual, asObjectProperty, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDatatypeProperty, isDefinedBy, isDifferentFrom, isIndividual, isObjectProperty, isOntLanguageTerm, isOntology, isProperty, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfoMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithMethods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties
-
Field Details
-
factory
public static org.apache.jena.enhanced.Implementation factory
-
-
Constructor Details
-
TemplateImpl
public TemplateImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph g)
-
-
Method Details
-
getMatch
public org.glassfish.jersey.uri.UriTemplate getMatch() -
getFragmentTemplate
- Specified by:
getFragmentTemplatein interfaceTemplate
-
getQuery
public org.apache.jena.rdf.model.Resource getQuery() -
getUpdate
public org.apache.jena.rdf.model.Resource getUpdate() -
getPriority
- Specified by:
getPriorityin interfaceTemplate
-
getParameters
- Specified by:
getParametersin interfaceTemplate
-
getLocalParameters
- Specified by:
getLocalParametersin interfaceTemplate
-
getParameterMap
- Specified by:
getParameterMapin interfaceTemplate
-
getLanguages
- Specified by:
getLanguagesin interfaceTemplate
-
getLanguages
-
getLoadClass
public org.apache.jena.rdf.model.Resource getLoadClass()- Specified by:
getLoadClassin interfaceTemplate
-
getCacheControl
public javax.ws.rs.core.CacheControl getCacheControl()ReturnsCache-ControlHTTP header value, specified on an ontology class with given property.- Specified by:
getCacheControlin interfaceTemplate- Returns:
- CacheControl instance or null
-
getSuperTemplates
- Specified by:
getSuperTemplatesin interfaceTemplate
-
getSuperTemplates
-
getSelfOrSuperWithProperty
Returns this template or the first template in the super-template chain that has the specified property.- Parameters:
property- property the template needs to have- Returns:
-
toString
- Specified by:
toStringin interfaceorg.apache.jena.rdf.model.RDFNode- Specified by:
toStringin interfaceorg.apache.jena.rdf.model.Resource- Overrides:
toStringin classorg.apache.jena.rdf.model.impl.ResourceImpl
-