public class PropertyImpl extends ResourceImpl implements Property
Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Modifier and Type | Field and Description |
---|---|
static Implementation |
factory |
rdfNodeFactory
Constructor and Description |
---|
PropertyImpl(Node n,
EnhGraph m) |
PropertyImpl(String uri)
Creates new PropertyImpl
|
PropertyImpl(String uri,
ModelCom m) |
PropertyImpl(String nameSpace,
String localName) |
PropertyImpl(String nameSpace,
String localName,
int ordinal,
ModelCom m) |
PropertyImpl(String nameSpace,
String localName,
ModelCom m) |
Modifier and Type | Method and Description |
---|---|
int |
getOrdinal()
Returns the ordinal value of a containment property.
|
Property |
inModel(Model m)
Override RDFNode.inModel() to produce a staticly-typed Resource
in the given Model.
|
boolean |
isProperty()
Gets the value of the property property.
|
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, listProperties, removeAll, removeProperties, toString, visitWith
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAs
addView, supports
getLocalName, getNameSpace
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isURIResource, visitWith
asNode
public boolean isProperty
isProperty
in interface Property
public static final Implementation factory
public PropertyImpl(String uri)
public Property inModel(Model m)
Resource
public boolean isProperty()
isProperty
in interface Property
public int getOrdinal()
Property
RDF containers use properties of the form _1, _2, _3 etc to represent the containment relationship between the container and the objects it contains. When invoked on such a containment property, this method returns the integer part of the property name. When invoked on other properties, it returns 0.
getOrdinal
in interface Property
Licenced under the Apache License, Version 2.0