|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--amber.type.server.ComplexItem
| Field Summary | |
protected java.lang.String |
data
This is the data. |
static int |
ImageType
This is an URL to an image |
static int |
StringType
This is a Standard string type |
protected int |
type
This is the type of the corresponding string |
| Constructor Summary | |
ComplexItem()
Default Constructor. |
|
ComplexItem(int type,
java.lang.String data)
Initialising Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
This function checks to see if this object matches the input object. |
java.lang.String |
getData()
Gets the data in the following variable: This is the data. |
int |
getType()
Gets the data in the following variable: This is the type of the corresponding string |
void |
setData(java.lang.String data)
Sets the data in the following variable: This is the data. |
void |
setType(int data)
Sets the data in the following variable: This is the type of the corresponding string |
java.lang.String |
toString()
This function returns the String form of the data. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int StringType
public static final int ImageType
protected int type
protected java.lang.String data
| Constructor Detail |
public ComplexItem()
public ComplexItem(int type,
java.lang.String data)
type - This is the type of the corresponding stringdata - This is the data. This can be an URL to an item| Method Detail |
public int getType()
public java.lang.String getData()
public void setType(int data)
data - int containing the data to set the variable to.public void setData(java.lang.String data)
data - String containing the data to set the variable to.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - Object to compare with.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||