|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qedeq.kernel.bo.logic.model.Entity
public final class Entity
One entity in our model.
| Constructor Summary | |
|---|---|
Entity(int value,
java.lang.String display,
java.lang.String description)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get description. |
int |
getValue()
Get value. |
java.lang.String |
toString()
Get display text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Entity(int value,
java.lang.String display,
java.lang.String description)
value - This can be used for calculating truth or other values. Each value
should be unique to an entity.display - Show this to represent the entity within outputs.description - Description for this entity.| Method Detail |
|---|
public int getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||