|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectaminePlatform.kernel.ontology.CS
aminePlatform.kernel.ontology.Type
aminePlatform.kernel.ontology.IndexedType
Title: IndexedType Class
Description: This class is used especially in the context of KnowledgeBase Class.
It is used as a reference/index to a Type in the associated Ontology.
Copyright : Copyright (c) Adil KABBAJ 2004-2009
| Field Summary |
| Fields inherited from class aminePlatform.kernel.ontology.CS |
S_CONTEXT, S_CSRULE, S_SITUATION, S_TYPE |
| Constructor Summary | |
IndexedType()
|
|
IndexedType(Type type)
|
|
| Method Summary | |
java.lang.Object |
getCanon()
Get the canon of the current Type. |
java.lang.Object |
getDefinition()
Get the definition of the current Type. |
Type |
getIndex()
|
void |
setIndex(Type type)
|
protected org.jdom.Element |
toContent(Ontology ontology)
For the current type add the element that specifies its content to the XML ontology document. |
protected org.jdom.Element |
toCSKind(java.lang.String key)
For the current type add the element that specifies its kind to the XML ontology document. |
java.lang.String |
toString(Lexicon lexicon)
Implement the method toString(Lexicon) specified in the interface ToString. |
| Methods inherited from class aminePlatform.kernel.ontology.Type |
clear, finalize, getArraySubTypes, getArraySuperTypes, getComSubTypes, getComSuperTypes, getDirectSubTypes, getDirectSuperTypes, getIndividuals, getMaxComSubType, getMinComSuperType, getSubTypes, getSuperTypes, hasCanon, hasDefinition, isConceptType, isRelationType, isSubType, isSuperType, isType, removeCanon, removeDefinition, setCanon, setDefinition |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IndexedType()
public IndexedType(Type type)
| Method Detail |
public Type getIndex()
public void setIndex(Type type)
public java.lang.Object getDefinition()
Type
getDefinition in class Typepublic java.lang.Object getCanon()
Type
getCanon in class Type
public java.lang.String toString(Lexicon lexicon)
throws ToStringException
CS
toString in interface ToStringtoString in class TypeToStringExceptionprotected org.jdom.Element toCSKind(java.lang.String key)
Type
toCSKind in class Typeprotected org.jdom.Element toContent(Ontology ontology)
Type
toContent in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||