org.openrdf.elmo.dynabean.helpers
Class DynaClassInfo

java.lang.Object
  extended by 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

Constructor Summary
DynaClassInfo(Collection<URI> rdfTypes)
           
 
Method Summary
 void addPredicate(URI pred)
           
 void addRdfType(URI pred, URI rdfType)
           
 void end()
           
 boolean equals(Object obj)
           
 DynaProperty[] getDynaProperties()
           
 DynaProperty getDynaProperty(String property)
           
 String getName()
           
 URI getPredicate(String property)
           
 Collection<URI> getPredicates()
           
 Collection<URI> getRdfTypes()
           
 Collection<URI> getRdfTypes(String property)
           
 List<URI> getRdfTypes(URI pred)
           
 int hashCode()
           
 boolean isFunctional(String property)
           
 void setFunctional(URI pred, boolean functional)
           
 void setIndexed(URI pred)
           
 void setMapped(URI pred)
           
 void setRdfTypes(URI pred, List<URI> rdfTypes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynaClassInfo

public DynaClassInfo(Collection<URI> rdfTypes)
Method Detail

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.