|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjasi.simple.defi.ComplexAttribute
public class ComplexAttribute
Example of a record as attribute. This is not a immutable class!
Constructor Summary | |
---|---|
ComplexAttribute()
Default constructor. |
|
ComplexAttribute(ComplexAttribute a)
Copy constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getIntField()
Get the intField attribute. |
java.lang.String |
getStringField()
Get the stringField attribute. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setIntField(int intField)
Set the intField attribute. |
void |
setStringField(java.lang.String stringField)
Set the stringField attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComplexAttribute()
public ComplexAttribute(ComplexAttribute a)
a
- The attribute to copy.Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int getIntField()
public void setIntField(int intField)
intField
- The intField attribute.public java.lang.String getStringField()
public void setStringField(java.lang.String stringField)
stringField
- The intField attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |