Package org.intermine.model
Interface InterMineFastPathObject
-
- All Superinterfaces:
FastPathObject
- All Known Subinterfaces:
InterMineObject
- All Known Implementing Classes:
Item
,PermanentToken
,ProxyReference
,SavedBag
,SavedQuery
,SavedTemplateQuery
,Tag
,TemplateSummary
,UserProfile
public interface InterMineFastPathObject extends FastPathObject
A root interface for all objects that can be stored in a InterMine database.- Author:
- Julie
-
-
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.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.-
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
-
-