|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.runtime.Object
equip.runtime.ValueBase
equip.data.ItemData
equip.data.Tuple
The generic tuple type. Matches iff array of fields in template is no longer than array of fields in value, and each field in the template is null (wildcard) or matches the field value in the value object.
Please use a StringBox as the first field to contain a nominal tuple pseudo-class name. To simulate sub-class matching make this the top-most superclass; include sub-class names as StringBox fields after gaps for superclass fields. e.g. ["superclass","field1","field2","subclass","field3"] will match ["superclass","field1","field2"].
| Field Summary | |
ValueBase[] |
fields
array of fields |
| Fields inherited from class equip.data.ItemData |
id, name |
| Constructor Summary | |
Tuple()
Default no-arg constructor |
|
| Method Summary | |
boolean |
_equals_helper(Tuple c)
Internal IDL-generated equality test helper |
boolean |
_matches_helper(Tuple c)
Internal IDL-generated match test helper |
boolean |
equals(java.lang.Object c)
Standard IDL-generated equality test. |
java.lang.String |
getModuleName()
IDL-generated helper routine to get module name (currently unimplemented). |
boolean |
matches(java.lang.Object c)
Standard IDL-generated template match test. |
void |
readObject(ObjectInputStream in)
Internal IDL-generated serialisation helper. |
void |
writeObject(ObjectOutputStream out)
Internal IDL-generated serialisation helper. |
| Methods inherited from class equip.data.ItemData |
_equals_helper, _matches_helper |
| Methods inherited from class equip.runtime.ValueBase |
_equals_helper, _matches_helper, clone |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ValueBase[] fields
| Constructor Detail |
public Tuple()
| Method Detail |
public java.lang.String getModuleName()
getModuleName in class ItemDatapublic boolean equals(java.lang.Object c)
equals in class ItemDatac - The object to be compared against this.
cpublic boolean _equals_helper(Tuple c)
public boolean matches(java.lang.Object c)
matches in class ItemDatac - The object to be checked against this template.
this (as a template) matches the argumentpublic boolean _matches_helper(Tuple c)
public void writeObject(ObjectOutputStream out)
throws java.io.IOException
ObjectInputStream and ObjectOutputStream only.
writeObject in class ItemDatajava.io.IOException
public void readObject(ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException
ObjectInputStream and ObjectOutputStream only.
readObject in class ItemDatajava.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||