|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.survivor.SystemField
The SystemField class represents a field in a system object. This class contains the parsed field names, as well as the operations needed to traverse the object graph to access the field. The current version assumes only one secondary object level.
Constructor Summary | |
SystemField(java.lang.String name,
java.lang.Object value)
Creates a new instance of the SystemField class given the field name and field value. |
Method Summary | |
java.lang.Object |
clone()
Returns an exact copy of the SystemField object. |
boolean |
equals(SystemField f)
Determines whether the field name and field value between two fields are equal, and returns true if they are. |
java.lang.String |
getName()
Retrieves the field name from an instance of SystemField. |
java.lang.Object |
getValue()
Retrieves the field value from an instance of SystemField. |
int |
hashCode()
Returns the hash code value for this SystemField object. |
void |
setValue(java.lang.Object o)
Sets the value of the system field in an instance of SystemField. |
java.lang.String |
toString()
Retrieves a string representation of the field name and field value from the SystemField object. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SystemField(java.lang.String name, java.lang.Object value)
name
- The name of the field.value
- The value of the field.
Method Detail |
public java.lang.Object clone()
Object
- A copy of the SystemField object.
public boolean equals(SystemField f)
f
- The name of the field to compare against.
boolean
- An indicator of whether the field names and field values
match. True indicates the names and values match in both fields;
false indicates they do not match.
public java.lang.String getName()
String
- The name of the system field.
public java.lang.Object getValue()
Object
- The value of the system field.
public int hashCode()
int
- A hash code value.
public void setValue(java.lang.Object o)
o
- The object containing the value to place in the field.
void
- None.
public java.lang.String toString()
String
- The name of the system field and its value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.