|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.data.FieldIndex
public class FieldIndex
An index for looking up a record based on the values of some of its fields.
| Constructor Summary | |
|---|---|
FieldIndex()
|
|
| Method Summary | |
|---|---|
void |
addFieldOfInterest(java.lang.String newField)
Adds a field of interest. |
java.util.ArrayList |
getFieldsOfInterest()
Gets the fields of interest. |
java.lang.Class |
getMakeupClass()
Gets the class used to make up objects. |
java.lang.Object |
keyOf(java.lang.Object victim)
Returns a key consisting of a set of field->value mappings. |
java.lang.Object |
makeupObject(java.lang.Object key)
Makes up a new object by setting the fields to match those listed in the key (which must be a Map!). |
void |
setFieldsOfInterest(java.util.ArrayList newFields)
Sets the fields of interest. |
void |
setMakeupClass(java.lang.Class newClass)
Sets the class used to make up objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldIndex()
| Method Detail |
|---|
public java.lang.Object keyOf(java.lang.Object victim)
keyOf in interface LookupIndexpublic java.lang.Object makeupObject(java.lang.Object key)
makeupObject in interface MakeupIndexpublic void addFieldOfInterest(java.lang.String newField)
public void setFieldsOfInterest(java.util.ArrayList newFields)
public java.util.ArrayList getFieldsOfInterest()
public void setMakeupClass(java.lang.Class newClass)
public java.lang.Class getMakeupClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||