org.openrdf.elmo.dynabean.helpers
Class DynaClassInfo
java.lang.Object
org.openrdf.elmo.dynabean.helpers.DynaClassInfo
- All Implemented Interfaces:
- OntologyDigester
public class DynaClassInfo
- extends Object
- implements OntologyDigester
Backing class for a SesameDynaBean to store common properties shared between
beans.
- Author:
- James Leigh
DynaClassInfo
public DynaClassInfo(Collection<URI> rdfTypes)
getName
public String getName()
getRdfTypes
public Collection<URI> getRdfTypes()
getPredicates
public Collection<URI> getPredicates()
- Specified by:
getPredicates in interface OntologyDigester
addPredicate
public void addPredicate(URI pred)
- Specified by:
addPredicate in interface OntologyDigester
setFunctional
public void setFunctional(URI pred,
boolean functional)
- Specified by:
setFunctional in interface OntologyDigester
getRdfTypes
public List<URI> getRdfTypes(URI pred)
- Specified by:
getRdfTypes in interface OntologyDigester
setRdfTypes
public void setRdfTypes(URI pred,
List<URI> rdfTypes)
- Specified by:
setRdfTypes in interface OntologyDigester
addRdfType
public void addRdfType(URI pred,
URI rdfType)
- Specified by:
addRdfType in interface OntologyDigester
setIndexed
public void setIndexed(URI pred)
- Specified by:
setIndexed in interface OntologyDigester
setMapped
public void setMapped(URI pred)
- Specified by:
setMapped in interface OntologyDigester
end
public void end()
- Specified by:
end in interface OntologyDigester
getDynaProperty
public DynaProperty getDynaProperty(String property)
getDynaProperties
public DynaProperty[] getDynaProperties()
getPredicate
public URI getPredicate(String property)
isFunctional
public boolean isFunctional(String property)
getRdfTypes
public Collection<URI> getRdfTypes(String property)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2007. All Rights Reserved.