aminePlatform.kernel.ontology
Class Metaphor
java.lang.Object
aminePlatform.kernel.ontology.CS
aminePlatform.kernel.ontology.Situation
aminePlatform.kernel.ontology.Metaphor
- All Implemented Interfaces:
- Node, java.io.Serializable, ToString
- public class Metaphor
- extends Situation
- implements java.io.Serializable
Title : Metaphor Class
Description : Metaphor extends Situation. Metaphor stores all the information
needed for a treatment of metaphor.
Copyright: Copyright (c) Adil KABBAJ, 2004-2009
- See Also:
- Serialized Form
Constructor Summary |
Metaphor(java.lang.Object description)
|
Metaphor(java.lang.Object mObject,
Type sourceType,
Type targetType)
|
Metaphor(java.lang.Object mObject,
Type sourceType,
Type targetType,
java.lang.Object description)
|
Methods inherited from class aminePlatform.kernel.ontology.CS |
addCSRule, addCSRule, addIncomeEdge, addOutcomeEdge, addSituation, canBeRemoved, clear, copyNode, detach, finalize, getAdjacentNodes, getArrayOfChildren, getArrayOfFathers, getChildren, getContent, getCSRuleAt, getCSRules, getCSRulesAntecedent, getCSRulesConcequence, getEdges, getFathers, getImmSubTypes, getImmSuperTypes2, getIncomeEdges, getLeftTopPoint, getMetaphors, getNbrChildren, getNbrCSRules, getNbrFathers, getNbrSituations, getNumberofEdges, getOutcomeEdges, getSituationAt, getSituations, getSituationsDescription, hasContentToDisplay, isAntecedent, isChild, isConceptType, isContext, isCS, isCSRule, isDescendant, isFather, isIndexedType, isIndividual, isMetaphor, isRelationType, isSituation, isType, link, removeCSRuleAt, removeLink, removeLink, removeLinkToSituation, removeSituationAt, setChildren, setFathers, setIncomeEdges, setLeftTopPoint, setOutcomeEdges, setRectangle, toChildren, toDisplayString, toFathers, toLexicon, toXml |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metaphor
public Metaphor(java.lang.Object mObject,
Type sourceType,
Type targetType,
java.lang.Object description)
Metaphor
public Metaphor(java.lang.Object mObject,
Type sourceType,
Type targetType)
Metaphor
public Metaphor(java.lang.Object description)
getMetaphoricalObject
public java.lang.Object getMetaphoricalObject()
setMetaphoricalObject
public void setMetaphoricalObject(java.lang.Object mObject)
getSourceType
public Type getSourceType()
setSourceType
public void setSourceType(Type srceType)
getTargetType
public Type getTargetType()
setTargetType
public void setTargetType(Type trgtType)
isMetaphor
public static boolean isMetaphor(java.lang.Object obj)
toCSKind
protected org.jdom.Element toCSKind(java.lang.String key)
- For the current metaphor add the element that specifies its kind to the XML ontology document.
- Overrides:
toCSKind
in class Situation
- Returns:
- cselement.
toContent
protected org.jdom.Element toContent(Ontology ontology)
- For the current Metaphor add the element that specifies its content to the XML ontology document.
- Overrides:
toContent
in class Situation
- Returns:
- content.