|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.vrp.corevrp.validator.RDF_Validator
public class RDF_Validator
RDF_Validator.java
| Field Summary | |
|---|---|
RDF_Model |
basis_model
The model we want to validate. |
protected static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
RDF_Validator(RDF_Model mdl)
Create a new RDF_Validator. |
|
| Method Summary | |
|---|---|
void |
create_class_dag()
|
void |
create_property_dag()
|
long |
getinheritTime()
Returns the time required to inherit the domain and the range to the sub properties |
RDF_DAG |
getsubClassOfDAG()
Returns the subClasses Directed Acyclic Graph. |
RDF_DAG |
getsubMetaClassOfDAG()
|
RDF_DAG |
getsubMetaPropertyOfDAG()
|
RDF_DAG |
getsubPropertyOfDAG()
Returns the subProperties Directed Acyclic Graph. |
void |
inheritDomainRange()
-Inherits the domain and range of a property to its subProperty in case they are not already defined. |
void |
setclassLoop(boolean b)
Setting the classLoop option. |
void |
setgraph(boolean b)
Setting the graph option. |
void |
setinheritance(boolean b)
Setting the inheritance option. |
void |
setpropertyLoop(boolean b)
Setting the propertyLoop option. |
void |
setsourceTargetTypes(boolean b)
Setting the sourceTargetTypes option. |
void |
setsubClassOfDAG(RDF_DAG class_dag)
Sets the subClasses Directed Acyclic Graph. |
void |
setsubMetaClassOfDAG(RDF_DAG meta_class_dag)
Sets the subClasses Directed Acyclic Graph. |
void |
setsubMetaPropertyOfDAG(RDF_DAG meta_property_dag)
Sets the subClasses Directed Acyclic Graph. |
void |
setsubPropertyOfDAG(RDF_DAG property_dag)
Sets the subClasses Directed Acyclic Graph. |
void |
setsubsetSubpropertyDomainRange(boolean b)
Setting the subsetSubpropertyDomainRange option. |
void |
settyping(boolean b)
Setting the typing option. |
void |
setuniqueDefinedDomainRange(boolean b)
Setting the uniqueDefinedDomainRange option. |
void |
setverbose(boolean b)
Setting the verbose option. |
boolean |
subClassOf_check()
Testing for loops in the subClassOf Statements. |
boolean |
subProperty_check()
Tests for loops in the subPropertyOf Statements Create the property dag Test dag for loops |
void |
subpropertyDomainRange_check()
Testing if the domain and range of a sub property fit to the domain and range of the super properties. |
boolean |
validate()
The method starting all the jobs for the validation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
public RDF_Model basis_model
| Constructor Detail |
|---|
public RDF_Validator(RDF_Model mdl)
| Method Detail |
|---|
public void setverbose(boolean b)
public void setgraph(boolean b)
public void setclassLoop(boolean b)
public void setpropertyLoop(boolean b)
public void setinheritance(boolean b)
public void setsubsetSubpropertyDomainRange(boolean b)
public void setuniqueDefinedDomainRange(boolean b)
public void settyping(boolean b)
public void setsourceTargetTypes(boolean b)
public RDF_DAG getsubClassOfDAG()
public void setsubClassOfDAG(RDF_DAG class_dag)
public RDF_DAG getsubMetaClassOfDAG()
public void setsubMetaClassOfDAG(RDF_DAG meta_class_dag)
public RDF_DAG getsubMetaPropertyOfDAG()
public void setsubMetaPropertyOfDAG(RDF_DAG meta_property_dag)
public RDF_DAG getsubPropertyOfDAG()
public void setsubPropertyOfDAG(RDF_DAG property_dag)
public long getinheritTime()
public boolean validate()
public boolean subProperty_check()
public boolean subClassOf_check()
public void inheritDomainRange()
public void subpropertyDomainRange_check()
public void create_class_dag()
public void create_property_dag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||