|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Property
An RDF Property.
| Method Summary | |
|---|---|
String |
getLocalName()
Returns the name of this property within its namespace. |
String |
getNameSpace()
Returns the namespace associated with this property. |
int |
getOrdinal()
Returns the ordinal value of a containment property. |
Property |
inModel(Model m)
Override RDFNode.inModel() to produce a staticly-typed Property in the given Model. |
boolean |
isProperty()
|
| Methods inherited from interface com.hp.hpl.jena.rdf.model.Resource |
|---|
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getProperty, getPropertyResourceValue, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, removeAll, removeProperties, toString |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode |
|---|
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isURIResource, visitWith |
| Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode |
|---|
asNode |
| Method Detail |
|---|
boolean isProperty()
String getNameSpace()
getNameSpace in interface ResourceProperty inModel(Model m)
inModel in interface RDFNodeinModel in interface Resourcem - a model to move the node to
String getLocalName()
getLocalName in interface Resourceint getOrdinal()
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||