| Constructor and Description |
|---|
TClass(org.semanticweb.owlapi.model.IRI classIRI)
CONSTRUCTOR : initiate a new TClass
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildClass(org.semanticweb.owlapi.model.IRI iri,
TClass tclass)
Add a concept (TClass) in the list of recursive subclasses
|
void |
addDataProperty(java.lang.String name,
DataType type)
Add a new data property in the data properties list
|
void |
addObjectProperty(java.lang.String name,
TClass tclass)
Add a new object property in the object properties list
|
void |
addSubClass(TClass t)
Add a concept (TClass) in the list of subclasses
|
void |
addSuperClass(TClass t)
Add a concept (TClass) in the list of superclasses
|
void |
addSuperDataProperty(java.lang.String name,
DataType type)
Add a data property in the list of recursive data properties
|
void |
addSuperIRI(org.semanticweb.owlapi.model.IRI i)
Add an IRI in the list of recursive super IRIs
|
void |
addSuperObjectProperty(java.lang.String name,
TClass tclass)
Add an object property in the list of recursive object properties
|
int |
compareTo(TClass o)
Compare this TClass with another one
The lexical order of the IRI is used to do the comparison |
void |
decreaseRemainingInstances()
Synchronized Function used to coherently decrease the number of instances
in a multithreaded context
|
java.util.Map<org.semanticweb.owlapi.model.IRI,TClass> |
getChildClasses()
GETTER : objectProperties
|
org.semanticweb.owlapi.model.IRI |
getClassIRI()
GETTER : classIRI
|
java.util.Map<java.lang.String,DataType> |
getDataProperties()
GETTER : dataProperties
|
long |
getNextInstanceNumber()
Synchronized Function used to coherently increase the counter of
instances generated in a multithreaded context
|
java.util.Map<java.lang.String,TClass> |
getObjectProperties()
GETTER : objectProperties
|
TClass |
getRandomClassFromChilds()
Get a random subclasses from the recursive list of sub classes
|
long |
getRemainingInstances()
GETTER : remainingInstances
|
java.util.Set<TClass> |
getSubClasses()
GETTER : objectProperties
|
java.util.Set<TClass> |
getSuperClasses()
GETTER : objectProperties
|
java.util.Set<org.semanticweb.owlapi.model.IRI> |
getSuperClassesIRI()
GETTER : superClassesIRI
|
java.util.Map<java.lang.String,DataType> |
getSuperDataProperties()
GETTER : superDataProperties
|
java.util.Map<java.lang.String,TClass> |
getSuperObjectProperties()
GETTER : superObjectProperties
|
void |
initGeneration(long instancesToGenerate)
Function used to reset variables, and determine the number of instances
to generate for this specific concept
|
boolean |
isARange()
GETTER : isARange
|
boolean |
isExplored()
GETTER : explored
|
boolean |
isTopClass()
Determines if this class comes in the top of the graph or no
|
void |
setExplored(boolean explored)
SETTER : explored
|
void |
setIsARange(boolean isARange)
SETTER : isARange
|
boolean |
testAndDecreaseRemainingInstances()
Synchronized Function used to coherently decrease the number of instances
in a multithreaded context
|
public TClass(org.semanticweb.owlapi.model.IRI classIRI)
classIRI - the IRI of the conceptpublic void addDataProperty(java.lang.String name,
DataType type)
name - The name of the propertytype - (DataType) the type of the propertyDataType,
dataPropertiespublic void addObjectProperty(java.lang.String name,
TClass tclass)
name - The name of the propertytclass - A reference on the object (TClass) used as rangeobjectPropertiespublic void addSubClass(TClass t)
t - the sub conceptsubClassespublic void addChildClass(org.semanticweb.owlapi.model.IRI iri,
TClass tclass)
iri - the IRI of the concept (used to get an index on this subclass)tclass - the reference of the subclassespublic void addSuperClass(TClass t)
t - the sub conceptsubClassespublic void addSuperDataProperty(java.lang.String name,
DataType type)
name - the name of the propertytype - the type of the propertysuperDataPropertiespublic void addSuperObjectProperty(java.lang.String name,
TClass tclass)
name - the name of the propertytclass - a reference on the TClass used as rangesuperObjectPropertiespublic void addSuperIRI(org.semanticweb.owlapi.model.IRI i)
i - the IRI of the super conceptsuperClassesIRIpublic int compareTo(TClass o)
compareTo in interface java.lang.Comparable<TClass>o - another TClasspublic java.util.Map<java.lang.String,DataType> getDataProperties()
dataPropertiespublic java.util.Map<java.lang.String,TClass> getObjectProperties()
objectPropertiespublic java.util.Set<TClass> getSubClasses()
objectPropertiespublic java.util.Map<org.semanticweb.owlapi.model.IRI,TClass> getChildClasses()
objectPropertiespublic java.util.Set<TClass> getSuperClasses()
objectPropertiespublic boolean isTopClass()
public org.semanticweb.owlapi.model.IRI getClassIRI()
classIRIpublic java.util.Set<org.semanticweb.owlapi.model.IRI> getSuperClassesIRI()
superClassesIRIpublic TClass getRandomClassFromChilds()
childClassespublic java.util.Map<java.lang.String,DataType> getSuperDataProperties()
superDataPropertiespublic java.util.Map<java.lang.String,TClass> getSuperObjectProperties()
superObjectPropertiespublic boolean isExplored()
exploredpublic void setExplored(boolean explored)
explored - exploredpublic boolean isARange()
isARangepublic void setIsARange(boolean isARange)
isARange - isARangepublic void initGeneration(long instancesToGenerate)
instancesToGenerate - public long getRemainingInstances()
remainingInstancespublic void decreaseRemainingInstances()
public boolean testAndDecreaseRemainingInstances()
public long getNextInstanceNumber()