|
||||||||||
| 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.Situation
Title : ontology.Situation Class
Description : It implements the CS for a situation. Situation has a description, inherited from its superclass CS.
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 | |
Situation()
Create an 'empty' Situation CS |
|
Situation(java.lang.Object description)
Create a Situation CS with the specified description |
|
| Method Summary | |
java.lang.Object |
getDescription()
Get the description of the current Situation. |
java.util.Enumeration |
getIndexingTypes()
Get the immediate types for which the current situation is a situation. |
static boolean |
isSituation(java.lang.Object obj)
Check if the specified Object obj is a Type CS |
void |
removeDescription()
Remove the description of the current Situation. |
void |
setDescription(java.lang.Object description)
Set the description of the current Situation to description. |
protected org.jdom.Element |
toContent(Ontology ontology)
For the current situation add the element that is specified its content to the XML ontology document. |
protected org.jdom.Element |
toCSKind(java.lang.String key)
For the current situation add the element that is specified 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 java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Situation()
public Situation(java.lang.Object description)
| Method Detail |
public static boolean isSituation(java.lang.Object obj)
obj - An object
public java.lang.Object getDescription()
getDescription in class CSpublic void setDescription(java.lang.Object description)
setDescription in class CSdescription - The (new) description for the current Situationpublic void removeDescription()
removeDescription in class CSpublic java.util.Enumeration getIndexingTypes()
public java.lang.String toString(Lexicon lexicon)
throws ToStringException
CS
toString in interface ToStringtoString in class CSlexicon - Lexicon to use for the textual formulation
ToStringExceptionprotected org.jdom.Element toCSKind(java.lang.String key)
toCSKind in class CSkey -
protected org.jdom.Element toContent(Ontology ontology)
toContent in class CSontology -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||