|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.vrp.label.HierarchyLabel
public class HierarchyLabel
HierarchyLabel:
Description: This class performs the labeling of the class and property hierarchies
| Field Summary | |
|---|---|
static int |
INIT_POSTORDER
Indicates the integer up to the labeling of the nodes starts. |
protected static org.apache.log4j.Logger |
log
|
static int |
NULL_INDEX
Indicates the null index. |
| Constructor Summary | |
|---|---|
HierarchyLabel(IRDF_Model model,
RDF_DAG subclass_dag,
RDF_DAG subproperty_dag,
RDF_DAG submetaclass_dag,
RDF_DAG submetaproperty_dag)
|
|
| Method Summary | |
|---|---|
java.math.BigInteger |
getClassIndex(java.lang.Object res)
Gets the index number of the class |
Label |
getClassLabel()
Returns the class hierarchy label object |
java.math.BigInteger |
getClassPost(java.lang.Object res)
Gets the post number of the class |
java.math.BigInteger |
getMetaClassIndex(java.lang.Object res)
Gets the index number of the metaclass |
Label |
getMetaClassLabel()
Returns the metaclass hierarchy label object |
java.math.BigInteger |
getMetaClassPost(java.lang.Object res)
Gets the post number of the metaclass |
java.math.BigInteger |
getMetaPropertyIndex(java.lang.Object res)
Gets the index number of the metaproperty |
Label |
getMetaPropertyLabel()
Returns the metaproperty hierarchy label object |
java.math.BigInteger |
getMetaPropertyPost(java.lang.Object res)
Gets the post number of the metaproperty |
java.math.BigInteger |
getPropertyIndex(java.lang.Object res)
Gets the index number of the property |
Label |
getPropertyLabel()
Returns the property hierarchy label object |
java.math.BigInteger |
getPropertyPost(java.lang.Object res)
Gets the post number of the property |
void |
updateDBInitPostOrder(java.sql.Statement stmt)
Stores the post numbers from which the next labeling will start |
| 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 static final int NULL_INDEX
public static int INIT_POSTORDER
| Constructor Detail |
|---|
public HierarchyLabel(IRDF_Model model,
RDF_DAG subclass_dag,
RDF_DAG subproperty_dag,
RDF_DAG submetaclass_dag,
RDF_DAG submetaproperty_dag)
throws gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException
subclass_dag - The class RDF_DAGsubproperty_dag - The property RDF_DAGnsURI - The URI of the namespace where the hierarchies are definedstmt - An sql statement object
gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException| Method Detail |
|---|
public Label getClassLabel()
public Label getPropertyLabel()
public Label getMetaClassLabel()
public Label getMetaPropertyLabel()
public void updateDBInitPostOrder(java.sql.Statement stmt)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.math.BigInteger getMetaClassPost(java.lang.Object res)
res - The metaclass
public java.math.BigInteger getMetaPropertyPost(java.lang.Object res)
res - The metaproperty
public java.math.BigInteger getMetaClassIndex(java.lang.Object res)
res - The metaclass
public java.math.BigInteger getMetaPropertyIndex(java.lang.Object res)
res - The metaproperty
public java.math.BigInteger getPropertyPost(java.lang.Object res)
res - The property object
public java.math.BigInteger getPropertyIndex(java.lang.Object res)
res - The property
public java.math.BigInteger getClassPost(java.lang.Object res)
res - The class
public java.math.BigInteger getClassIndex(java.lang.Object res)
res - The class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||