Package org.intermine.model
Interface FastPathObject
-
- All Known Subinterfaces:
InterMineFastPathObject
public interface FastPathObjectA root interface for all objects that can be stored in a InterMine database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetFieldProxy(java.lang.String fieldName)Returns the value of a field without dereferencing any ProxyReference objects.java.lang.Class<?>getFieldType(java.lang.String fieldName)Returns the type of a field by name.java.lang.ObjectgetFieldValue(java.lang.String fieldName)Returns the value of a field by name.voidsetFieldValue(java.lang.String fieldName, java.lang.Object value)Sets the value of a field by name.
-
-
-
Method Detail
-
getFieldValue
java.lang.Object getFieldValue(java.lang.String fieldName) throws java.lang.IllegalAccessExceptionReturns the value of a field by name.- Parameters:
fieldName- the name of the field- Returns:
- the value of the field
- Throws:
java.lang.IllegalAccessException- when something goes wrong
-
getFieldProxy
java.lang.Object getFieldProxy(java.lang.String fieldName) throws java.lang.IllegalAccessExceptionReturns the value of a field without dereferencing any ProxyReference objects.- Parameters:
fieldName- the name of the field- Returns:
- the value of the field, or a ProxyReference representing it
- Throws:
java.lang.IllegalAccessException- when something goes wrong
-
setFieldValue
void setFieldValue(java.lang.String fieldName, java.lang.Object value)Sets the value of a field by name.- Parameters:
fieldName- the name of the fieldvalue- the value of the field, or a ProxyReference representing it
-
getFieldType
java.lang.Class<?> getFieldType(java.lang.String fieldName)
Returns the type of a field by name.- Parameters:
fieldName- the name of the field- Returns:
- the type of the field
-
-