Package org.intermine.model
Interface InterMineFastPathObject
-
- All Superinterfaces:
FastPathObject
public interface InterMineFastPathObject extends FastPathObject
A 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.Class<?>getElementType(java.lang.String fieldName)Returns the element type of a collection by name.java.lang.IntegergetId()Getter for the ID field - ensures that every object in the database has an ID.StringConstructorgetoBJECT()Returns the NotXml serialised version of this object.voidsetId(java.lang.Integer id)Setter for the ID field.-
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
-
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
-
-