|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.DatasetThingImpl
org.openanzo.rdfs.dataset._PropertyImpl
public class _PropertyImpl
Implementation of _Property
Use the org.openanzo.rdfs.dataset.RDFSFactory to create instances of this class.
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#Property)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.rdfs.dataset._Property |
|---|
TYPE |
| Method Summary | |
|---|---|
void |
addComment(java.lang.String comment)
Add a 'comment' property value |
void |
addIsDefinedBy(_Resource isDefinedBy)
Adds a value for the 'isDefinedBy' property |
_Resource |
addIsDefinedBy()
Adds an anonymous value for the 'isDefinedBy' property |
_Resource |
addIsDefinedBy(org.openrdf.model.Resource resource)
Adds a value for the 'isDefinedBy' property. |
void |
addLabel(java.lang.String label)
Add a 'label' property value |
void |
addMember(_Resource member)
Adds a value for the 'member' property |
_Resource |
addMember()
Adds an anonymous value for the 'member' property |
_Resource |
addMember(org.openrdf.model.Resource resource)
Adds a value for the 'member' property. |
void |
addSeeAlso(_Resource seeAlso)
Adds a value for the 'seeAlso' property |
_Resource |
addSeeAlso()
Adds an anonymous value for the 'seeAlso' property |
_Resource |
addSeeAlso(org.openrdf.model.Resource resource)
Adds a value for the 'seeAlso' property. |
void |
addSubPropertyOf(_Property subPropertyOf)
Adds a value for the 'subPropertyOf' property |
_Property |
addSubPropertyOf()
Adds an anonymous value for the 'subPropertyOf' property |
_Property |
addSubPropertyOf(org.openrdf.model.Resource resource)
Adds a value for the 'subPropertyOf' property. |
Class |
addType()
Adds an anonymous value for the 'type' property |
void |
addType(Class type)
Adds a value for the 'type' property |
Class |
addType(org.openrdf.model.Resource resource)
Adds a value for the 'type' property. |
void |
addValue(_Resource value)
Adds a value for the 'value' property |
_Resource |
addValue()
Adds an anonymous value for the 'value' property |
_Resource |
addValue(org.openrdf.model.Resource resource)
Adds a value for the 'value' property. |
info.aduna.collections.iterators.CloseableIterator<java.lang.String> |
getComment()
Iterates through the 'comment' property values. |
Class |
getDomain()
Gets the 'domain' property value |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getIsDefinedBy()
Get an Iterator the 'isDefinedBy' property values. |
info.aduna.collections.iterators.CloseableIterator<java.lang.String> |
getLabel()
Iterates through the 'label' property values. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getMember()
Get an Iterator the 'member' property values. |
Class |
getRange()
Gets the 'range' property value |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getSeeAlso()
Get an Iterator the 'seeAlso' property values. |
info.aduna.collections.iterators.CloseableIterator<_Property> |
getSubPropertyOf()
Get an Iterator the 'subPropertyOf' property values. |
info.aduna.collections.iterators.CloseableIterator<Class> |
getType()
Get an Iterator the 'type' property values. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getValue()
Get an Iterator the 'value' property values. |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
registerListener(_PropertyListener listener)
Register a _PropertyListener |
void |
registerListener(_ResourceListener listener)
Register a org.openanzo.rdfs.dataset._ResourceListener |
void |
registerWithEventManager()
Register the object listeners with the dataset's event manager |
void |
removeComment(java.lang.String comment)
Remove a 'comment' property value. |
void |
removeIsDefinedBy(_Resource isDefinedBy)
Removes a value for the 'isDefinedBy' property. |
void |
removeLabel(java.lang.String label)
Remove a 'label' property value. |
void |
removeMember(_Resource member)
Removes a value for the 'member' property. |
void |
removeSeeAlso(_Resource seeAlso)
Removes a value for the 'seeAlso' property. |
void |
removeSubPropertyOf(_Property subPropertyOf)
Removes a value for the 'subPropertyOf' property. |
void |
removeType(Class type)
Removes a value for the 'type' property. |
void |
removeValue(_Resource value)
Removes a value for the 'value' property. |
Class |
setDomain()
Sets the 'domain' property value to an anonymous node |
void |
setDomain(Class domain)
Sets the 'domain' property value |
Class |
setDomain(org.openrdf.model.Resource resource)
Sets the 'domain' property value to the given resource, and add's rdf:type properties. |
Class |
setRange()
Sets the 'range' property value to an anonymous node |
void |
setRange(Class range)
Sets the 'range' property value |
Class |
setRange(org.openrdf.model.Resource resource)
Sets the 'range' property value to the given resource, and add's rdf:type properties. |
void |
unregisterListener(_PropertyListener listener)
Unregister a _PropertyListener |
void |
unregisterListener(_ResourceListener listener)
Unregister a org.openanzo.rdfs.dataset._ResourceListener |
void |
unregisterWithEventManager()
Unregister the object listeners with the dataset's event manager |
| Methods inherited from class org.openanzo.jastor.DatasetThingImpl |
|---|
clearCache, dataset, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, isRDFType, namedGraphUri, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openanzo.jastor.DatasetThing |
|---|
dataset, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, namedGraphUri, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class DatasetThingImpl
public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
throws JastorException
_Resource
getComment in interface _ResourceIterator of String
JastorException_Resource.commentProperty
public void addComment(java.lang.String comment)
throws JastorException
_Resource
addComment in interface _Resourcecomment - String, the value to add
JastorException_Resource.commentProperty
public void removeComment(java.lang.String comment)
throws JastorException
_Resource
removeComment in interface _Resourcecomment - String, the value to remove
JastorException_Resource.commentProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
throws JastorException
_Resource
getLabel in interface _ResourceIterator of String
JastorException_Resource.labelProperty
public void addLabel(java.lang.String label)
throws JastorException
_Resource
addLabel in interface _Resourcelabel - String, the value to add
JastorException_Resource.labelProperty
public void removeLabel(java.lang.String label)
throws JastorException
_Resource
removeLabel in interface _Resourcelabel - String, the value to remove
JastorException_Resource.labelProperty
public info.aduna.collections.iterators.CloseableIterator<Class> getType()
throws JastorException
_Resource
getType in interface _ResourceIterator of Class
JastorException_Resource.typeProperty
public void addType(Class type)
throws JastorException
_Resource
addType in interface _Resourcetype - The Class to add
JastorException_Resource.typeProperty
public Class addType()
throws JastorException
_Resource
addType in interface _ResourceClass created
JastorException_Resource.typeProperty
public Class addType(org.openrdf.model.Resource resource)
throws JastorException
_ResourceClass with the factory
and calling addType(org.openanzo.rdfs.dataset.Class type)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method
should not be used as a shortcut for creating new objects in the model.
addType in interface _Resourceresource - The Resource to add
JastorException_Resource.typeProperty
public void removeType(Class type)
throws JastorException
_Resource
removeType in interface _Resourcetype - The Class to remove
JastorException_Resource.typeProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
throws JastorException
_Resource
getValue in interface _ResourceIterator of _Resource
JastorException_Resource.valueProperty
public void addValue(_Resource value)
throws JastorException
_Resource
addValue in interface _Resourcevalue - The _Resource to add
JastorException_Resource.valueProperty
public _Resource addValue()
throws JastorException
_Resource
addValue in interface _Resource_Resource created
JastorException_Resource.valueProperty
public _Resource addValue(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addValue(org.openanzo.rdfs.dataset._Resource value)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addValue in interface _Resourceresource - The Resource to add
JastorException_Resource.valueProperty
public void removeValue(_Resource value)
throws JastorException
_Resource
removeValue in interface _Resourcevalue - The _Resource to remove
JastorException_Resource.valueProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
throws JastorException
_Resource
getIsDefinedBy in interface _ResourceIterator of _Resource
JastorException_Resource.isDefinedByProperty
public void addIsDefinedBy(_Resource isDefinedBy)
throws JastorException
_Resource
addIsDefinedBy in interface _ResourceisDefinedBy - The _Resource to add
JastorException_Resource.isDefinedByProperty
public _Resource addIsDefinedBy()
throws JastorException
_Resource
addIsDefinedBy in interface _Resource_Resource created
JastorException_Resource.isDefinedByProperty
public _Resource addIsDefinedBy(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addIsDefinedBy(org.openanzo.rdfs.dataset._Resource isDefinedBy)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addIsDefinedBy in interface _Resourceresource - The Resource to add
JastorException_Resource.isDefinedByProperty
public void removeIsDefinedBy(_Resource isDefinedBy)
throws JastorException
_Resource
removeIsDefinedBy in interface _ResourceisDefinedBy - The _Resource to remove
JastorException_Resource.isDefinedByProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
throws JastorException
_Resource
getMember in interface _ResourceIterator of _Resource
JastorException_Resource.memberProperty
public void addMember(_Resource member)
throws JastorException
_Resource
addMember in interface _Resourcemember - The _Resource to add
JastorException_Resource.memberProperty
public _Resource addMember()
throws JastorException
_Resource
addMember in interface _Resource_Resource created
JastorException_Resource.memberProperty
public _Resource addMember(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addMember(org.openanzo.rdfs.dataset._Resource member)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addMember in interface _Resourceresource - The Resource to add
JastorException_Resource.memberProperty
public void removeMember(_Resource member)
throws JastorException
_Resource
removeMember in interface _Resourcemember - The _Resource to remove
JastorException_Resource.memberProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
throws JastorException
_Resource
getSeeAlso in interface _ResourceIterator of _Resource
JastorException_Resource.seeAlsoProperty
public void addSeeAlso(_Resource seeAlso)
throws JastorException
_Resource
addSeeAlso in interface _ResourceseeAlso - The _Resource to add
JastorException_Resource.seeAlsoProperty
public _Resource addSeeAlso()
throws JastorException
_Resource
addSeeAlso in interface _Resource_Resource created
JastorException_Resource.seeAlsoProperty
public _Resource addSeeAlso(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addSeeAlso(org.openanzo.rdfs.dataset._Resource seeAlso)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addSeeAlso in interface _Resourceresource - The Resource to add
JastorException_Resource.seeAlsoProperty
public void removeSeeAlso(_Resource seeAlso)
throws JastorException
_Resource
removeSeeAlso in interface _ResourceseeAlso - The _Resource to remove
JastorException_Resource.seeAlsoProperty
public Class getDomain()
throws JastorException
_Property
getDomain in interface _PropertyClass
JastorException_Property.domainProperty
public void setDomain(Class domain)
throws JastorException
_Property
setDomain in interface _Propertydomain - Class, value to set
JastorException_Property.domainProperty
public Class setDomain()
throws JastorException
_Property
setDomain in interface _PropertyClass, the created value
JastorException_Property.domainProperty
public Class setDomain(org.openrdf.model.Resource resource)
throws JastorException
_PropertyClass with the factory.
and calling setDomain(org.openanzo.rdfs.dataset.Class domain)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method
should not be used as a shortcut for creating new objects in the model.
setDomain in interface _Propertyresource - Resource must not be be null.
Class, the newly created value
JastorException_Property.domainProperty
public Class getRange()
throws JastorException
_Property
getRange in interface _PropertyClass
JastorException_Property.rangeProperty
public void setRange(Class range)
throws JastorException
_Property
setRange in interface _Propertyrange - Class, value to set
JastorException_Property.rangeProperty
public Class setRange()
throws JastorException
_Property
setRange in interface _PropertyClass, the created value
JastorException_Property.rangeProperty
public Class setRange(org.openrdf.model.Resource resource)
throws JastorException
_PropertyClass with the factory.
and calling setRange(org.openanzo.rdfs.dataset.Class range)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method
should not be used as a shortcut for creating new objects in the model.
setRange in interface _Propertyresource - Resource must not be be null.
Class, the newly created value
JastorException_Property.rangeProperty
public info.aduna.collections.iterators.CloseableIterator<_Property> getSubPropertyOf()
throws JastorException
_Property
getSubPropertyOf in interface _PropertyIterator of _Property
JastorException_Property.subPropertyOfProperty
public void addSubPropertyOf(_Property subPropertyOf)
throws JastorException
_Property
addSubPropertyOf in interface _PropertysubPropertyOf - The _Property to add
JastorException_Property.subPropertyOfProperty
public _Property addSubPropertyOf()
throws JastorException
_Property
addSubPropertyOf in interface _Property_Property created
JastorException_Property.subPropertyOfProperty
public _Property addSubPropertyOf(org.openrdf.model.Resource resource)
throws JastorException
_Property_Property with the factory
and calling addSubPropertyOf(org.openanzo.rdfs.dataset._Property subPropertyOf)
The resource argument have rdf:type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property. That is, this method
should not be used as a shortcut for creating new objects in the model.
addSubPropertyOf in interface _Propertyresource - The Resource to add
JastorException_Property.subPropertyOfProperty
public void removeSubPropertyOf(_Property subPropertyOf)
throws JastorException
_Property
removeSubPropertyOf in interface _PropertysubPropertyOf - The _Property to remove
JastorException_Property.subPropertyOfPropertypublic void registerWithEventManager()
public void unregisterWithEventManager()
public void registerListener(_PropertyListener listener)
_Property
registerListener in interface _Propertylistener - _PropertyListener to registerpublic void unregisterListener(_PropertyListener listener)
_Property
unregisterListener in interface _Propertylistener - _PropertyListener to unregisterpublic void registerListener(_ResourceListener listener)
_Property
registerListener in interface _PropertyregisterListener in interface _Resourcelistener - org.openanzo.rdfs.dataset._ResourceListener to registerpublic void unregisterListener(_ResourceListener listener)
_Property
unregisterListener in interface _PropertyunregisterListener in interface _Resourcelistener - org.openanzo.rdfs.dataset._ResourceListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||