|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.api.results.ResultElement
public class ResultElement
Cell of results table containing information for the parent Object
| Field Summary | |
|---|---|
protected java.lang.Object |
field
|
protected java.lang.String |
htmlId
|
protected FastPathObject |
imObj
|
| Constructor Summary | |
|---|---|
ResultElement(FastPathObject imObj,
Path path,
boolean isKeyField)
Constructs a new ResultCell object |
|
ResultElement(java.lang.Object fieldValue)
Create a ResultElement that displays a single raw value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getField()
Get the field value |
java.lang.Integer |
getId()
Get the Id. |
FastPathObject |
getObject()
Return the Object contained in this result element. |
Path |
getPath()
|
java.lang.String |
getType()
Get the type |
int |
hashCode()
|
boolean |
isKeyField()
Return true if this object represents a field that is an identifying field (according to ClassKeyHelper.isKeyField()) |
void |
setField(java.lang.Object field)
Set the field value |
java.lang.String |
toString()
Returns a String representation of the ResultElement. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object field
protected FastPathObject imObj
protected java.lang.String htmlId
| Constructor Detail |
|---|
public ResultElement(FastPathObject imObj,
Path path,
boolean isKeyField)
imObj - the InterMineObject or SimpleObject to wrappath - the PathisKeyField - should be true if this is an identifying fieldpublic ResultElement(java.lang.Object fieldValue)
fieldValue - the value to hold in this object| Method Detail |
|---|
public java.lang.Object getField()
public void setField(java.lang.Object field)
field - the fieldpublic java.lang.String getType()
public boolean isKeyField()
public java.lang.Integer getId()
public Path getPath()
public FastPathObject getObject()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||