|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.impl.empire.model.ReasoningServiceImpl.ReasoningTaskBase.ClassIndividualMapping
class ReasoningServiceImpl.ReasoningTaskBase.ClassIndividualMapping
Represents a pair that consists of a class and an individual belonging to this class.
Field Summary | |
---|---|
private aterm.ATermAppl |
clazz
The class in the mapping |
private aterm.ATermAppl |
individual
The individual in the mapping |
Constructor Summary | |
---|---|
ReasoningServiceImpl.ReasoningTaskBase.ClassIndividualMapping(aterm.ATermAppl clazz,
aterm.ATermAppl individual)
Creates a pair that contains the mapping between the class and the individual. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Overridden equals() method. |
aterm.ATermAppl |
getClazz()
Gets the class. |
aterm.ATermAppl |
getIndividual()
Gets the individual |
int |
hashCode()
Overrided hashCode() method to maintain consistency with equals(). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private aterm.ATermAppl clazz
private aterm.ATermAppl individual
Constructor Detail |
---|
public ReasoningServiceImpl.ReasoningTaskBase.ClassIndividualMapping(aterm.ATermAppl clazz, aterm.ATermAppl individual)
clazz
- the classindividual
- the individualMethod Detail |
---|
public aterm.ATermAppl getClazz()
public aterm.ATermAppl getIndividual()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to be compared for equality
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |