|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.rdfs.ClassImpl
public class ClassImpl
Implementation of Class
Use the org.openanzo.rdfs.RDFSFactory to create instances of this class.
(URI: http://www.w3.org/2000/01/rdf-schema#Class)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.rdfs.Class |
|---|
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. |
Class |
addSubClassOf()
Adds an anonymous value for the 'subClassOf' property |
void |
addSubClassOf(Class subClassOf)
Adds a value for the 'subClassOf' property |
Class |
addSubClassOf(org.openrdf.model.Resource resource)
Adds a value for the 'subClassOf' 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. |
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. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getSeeAlso()
Get an Iterator the 'seeAlso' property values. |
info.aduna.collections.iterators.CloseableIterator<Class> |
getSubClassOf()
Get an Iterator the 'subClassOf' 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 |
removeComment(java.lang.String comment)
Remove a 'comment' property value. |
void |
removeIsDefinedBy(_Resource isDefinedBy)
Removes a value for the 'isDefinedBy' property. |
void |
removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
Remove a 'isDefinedBy' property value. |
void |
removeLabel(java.lang.String label)
Remove a 'label' property value. |
void |
removeMember(_Resource member)
Removes a value for the 'member' property. |
void |
removeMember(org.openrdf.model.Resource member)
Remove a 'member' property value. |
void |
removeSeeAlso(_Resource seeAlso)
Removes a value for the 'seeAlso' property. |
void |
removeSeeAlso(org.openrdf.model.Resource seeAlso)
Remove a 'seeAlso' property value. |
void |
removeSubClassOf(Class subClassOf)
Removes a value for the 'subClassOf' property. |
void |
removeSubClassOf(org.openrdf.model.Resource subClassOf)
Remove a 'subClassOf' property value. |
void |
removeType(Class type)
Removes a value for the 'type' property. |
void |
removeType(org.openrdf.model.Resource type)
Remove a 'type' property value. |
void |
removeValue(_Resource value)
Removes a value for the 'value' property. |
void |
removeValue(org.openrdf.model.Resource value)
Remove a 'value' property value. |
| Methods inherited from class org.openanzo.jastor.GraphThingImpl |
|---|
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, 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.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, 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 GraphThingImpl
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.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 void removeType(org.openrdf.model.Resource type)
throws JastorException
_Resource
removeType in interface _Resourcetype - Class, the value 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._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 void removeValue(org.openrdf.model.Resource value)
throws JastorException
_Resource
removeValue in interface _Resourcevalue - _Resource, the value 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._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 void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
throws JastorException
_Resource
removeIsDefinedBy in interface _ResourceisDefinedBy - _Resource, the value 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._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 void removeMember(org.openrdf.model.Resource member)
throws JastorException
_Resource
removeMember in interface _Resourcemember - _Resource, the value 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._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 void removeSeeAlso(org.openrdf.model.Resource seeAlso)
throws JastorException
_Resource
removeSeeAlso in interface _ResourceseeAlso - _Resource, the value to remove
JastorException_Resource.seeAlsoProperty
public info.aduna.collections.iterators.CloseableIterator<Class> getSubClassOf()
throws JastorException
Class
getSubClassOf in interface ClassIterator of Class
JastorExceptionClass.subClassOfProperty
public void addSubClassOf(Class subClassOf)
throws JastorException
Class
addSubClassOf in interface ClasssubClassOf - The Class to add
JastorExceptionClass.subClassOfProperty
public Class addSubClassOf()
throws JastorException
Class
addSubClassOf in interface ClassClass created
JastorExceptionClass.subClassOfProperty
public Class addSubClassOf(org.openrdf.model.Resource resource)
throws JastorException
ClassClass with the factory
and calling addSubClassOf(org.openanzo.rdfs.Class subClassOf)
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.
addSubClassOf in interface Classresource - The Resource to add
JastorExceptionClass.subClassOfProperty
public void removeSubClassOf(Class subClassOf)
throws JastorException
Class
removeSubClassOf in interface ClasssubClassOf - The Class to remove
JastorExceptionClass.subClassOfProperty
public void removeSubClassOf(org.openrdf.model.Resource subClassOf)
throws JastorException
Class
removeSubClassOf in interface ClasssubClassOf - Class, the value to remove
JastorExceptionClass.subClassOfProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||