|
||||||||||
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.RelationType
Title: kernel.ontology.RelationType Class
Description: RelationType is a specialization of Type, defined for Relation Type
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 | |
RelationType()
Create an 'empty' RelationType CS |
|
RelationType(java.lang.Object definition)
Create a new Relation Type with the specified definition. |
|
RelationType(java.lang.Object definition,
java.lang.Object canon)
Create a new RelationType with the specified definition and canon. |
Method Summary | |
java.util.Enumeration |
getIndividuals()
Override this method since a relation type has no individuals |
static boolean |
isGRD(java.lang.Object rel)
Check if the specified relation rel corresponds to the grd relation of Synergy |
static boolean |
isRelationType(java.lang.Object obj)
Check if the specified Object obj is a Type CS |
protected org.jdom.Element |
toCSKind(java.lang.String key)
For the current relationtype add the element that specifies its kind to the XML ontology document. |
Methods inherited from class aminePlatform.kernel.ontology.Type |
clear, finalize, getArraySubTypes, getArraySuperTypes, getCanon, getComSubTypes, getComSuperTypes, getDefinition, getDirectSubTypes, getDirectSuperTypes, getMaxComSubType, getMinComSuperType, getSubTypes, getSuperTypes, hasCanon, hasDefinition, isConceptType, isSubType, isSuperType, isType, removeCanon, removeDefinition, setCanon, setDefinition, toContent, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RelationType()
public RelationType(java.lang.Object definition, java.lang.Object canon)
definition
- The definition of the current relation type. It could be null.canon
- The canon of the current relation type. It could be null.public RelationType(java.lang.Object definition)
definition
- The definition of the current relation type. It could be null.Method Detail |
public static boolean isRelationType(java.lang.Object obj)
obj
- An object
public static boolean isGRD(java.lang.Object rel)
rel
- RelationType
public java.util.Enumeration getIndividuals()
getIndividuals
in class Type
protected org.jdom.Element toCSKind(java.lang.String key)
toCSKind
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |