|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.hp.hpl.mesa.rdf.jena.common.ResourceImpl
|
+--com.hp.hpl.mesa.rdf.jena.common.PropertyImpl
An implementation of Property.
| Constructor Summary | |
PropertyImpl(java.lang.String uri)
Creates new PropertyImpl |
|
PropertyImpl(java.lang.String uri,
Model m)
|
|
PropertyImpl(java.lang.String nameSpace,
java.lang.String localName)
|
|
PropertyImpl(java.lang.String nameSpace,
java.lang.String localName,
int ordinal,
Model m)
|
|
PropertyImpl(java.lang.String nameSpace,
java.lang.String localName,
Model m)
|
|
| Method Summary | |
java.lang.String |
getLocalName()
Returns the name of this property within its namespace. |
java.lang.String |
getNameSpace()
Returns the namespace associated with this property. |
int |
getOrdinal()
Returns the ordinal value of a containment property. |
Resource |
port(Model m)
For internal use only |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.ResourceImpl |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getEmbeddedResource, getId, getModel, getProperty, getURI, hashCode, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getModel, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString |
| Constructor Detail |
public PropertyImpl(java.lang.String uri)
throws RDFException
public PropertyImpl(java.lang.String nameSpace,
java.lang.String localName)
throws RDFException
public PropertyImpl(java.lang.String uri,
Model m)
throws RDFException
public PropertyImpl(java.lang.String nameSpace,
java.lang.String localName,
Model m)
throws RDFException
public PropertyImpl(java.lang.String nameSpace,
java.lang.String localName,
int ordinal,
Model m)
throws RDFException
| Method Detail |
public java.lang.String getNameSpace()
Property
getNameSpace in interface PropertygetNameSpace in class ResourceImplpublic java.lang.String getLocalName()
Property
getLocalName in interface PropertygetLocalName in class ResourceImplpublic int getOrdinal()
PropertyRDF 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
public Resource port(Model m)
throws RDFException
ResourceI
port in interface ResourceIport in class ResourceImplRDFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||