|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--de.tuberlin.cs.cis.ocl.example.eval.Sex
Represents a Sex Enumeration contained in the Example Class Diagram of OCL1.5 chapter 6.2.2.
| Field Summary | |
static Sex |
female
Represents the enumeration female |
static Sex |
male
Represents the enumeration male |
| Constructor Summary | |
Sex(int sex)
Constructs a Sex Enumeration. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static Sex male
public static Sex female
| Constructor Detail |
public Sex(int sex)
| Method Detail |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||