org.intermine.model
Interface InterMineObject

All Superinterfaces:
FastPathObject
All Known Implementing Classes:
ProxyReference

public interface InterMineObject
extends FastPathObject

A root interface for all objects that can be stored in a InterMine database.


Method Summary
 java.lang.Class<?> getElementType(java.lang.String fieldName)
          Returns the element type of a collection by name.
 java.lang.Integer getId()
          Getter for the ID field - ensures that every object in the database has an ID.
 StringConstructor getoBJECT()
          Returns the NotXml serialised version of this object.
 void setId(java.lang.Integer id)
          Setter for the ID field.
 void setoBJECT(java.lang.String[] notXml, ObjectStore os)
          Sets the values of the fields to the values in the given split NotXml.
 void setoBJECT(java.lang.String notXml, ObjectStore os)
          Sets the values of the fields to the values in the given NotXml.
 
Methods inherited from interface org.intermine.model.FastPathObject
getFieldProxy, getFieldType, getFieldValue, setFieldValue
 

Method Detail

getId

java.lang.Integer getId()
Getter for the ID field - ensures that every object in the database has an ID.

Returns:
an Integer

setId

void setId(java.lang.Integer id)
Setter for the ID field.

Parameters:
id - an Integer

getoBJECT

StringConstructor getoBJECT()
Returns the NotXml serialised version of this object.

Returns:
a StringConstructor containing the NotXml

setoBJECT

void setoBJECT(java.lang.String notXml,
               ObjectStore os)
Sets the values of the fields to the values in the given NotXml.

Parameters:
notXml - a String containing NotXml for this class
os - an ObjectStore from which to create proxies

setoBJECT

void setoBJECT(java.lang.String[] notXml,
               ObjectStore os)
Sets the values of the fields to the values in the given split NotXml.

Parameters:
notXml - a String array containing the NotXml split with the delimiter
os - an ObjectStore from which to create proxies

getElementType

java.lang.Class<?> getElementType(java.lang.String fieldName)
Returns the element type of a collection by name.

Parameters:
fieldName - the name of the collection
Returns:
the type of the elements of the collection