Class AbstractPentahoObjectReference<T>
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.objfac.references.AbstractPentahoObjectReference<T>
-
- All Implemented Interfaces:
Comparable<org.pentaho.platform.api.engine.IPentahoObjectReference<T>>
,org.pentaho.platform.api.engine.IPentahoObjectReference<T>
- Direct Known Subclasses:
PrototypePentahoObjectReference
,SessionBoundPentahoObjectReference
,SingletonPentahoObjectReference
public abstract class AbstractPentahoObjectReference<T> extends Object implements org.pentaho.platform.api.engine.IPentahoObjectReference<T>
A base class for IPentahoObjectReference implementations. Created by nbaker on 4/11/14.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractPentahoObjectReference.Builder<T,B extends AbstractPentahoObjectReference.Builder<T,B>>
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compareTo(org.pentaho.platform.api.engine.IPentahoObjectReference<T> o)
protected abstract T
createObject()
Map<String,Object>
getAttributes()
T
getObject()
Class<T>
getObjectClass()
Integer
getRanking()
-
-
-
Method Detail
-
getAttributes
public Map<String,Object> getAttributes()
- Specified by:
getAttributes
in interfaceorg.pentaho.platform.api.engine.IPentahoObjectReference<T>
-
getObject
public T getObject()
- Specified by:
getObject
in interfaceorg.pentaho.platform.api.engine.IPentahoObjectReference<T>
-
createObject
protected abstract T createObject() throws org.pentaho.platform.api.engine.ObjectFactoryException
- Throws:
org.pentaho.platform.api.engine.ObjectFactoryException
-
getRanking
public Integer getRanking()
- Specified by:
getRanking
in interfaceorg.pentaho.platform.api.engine.IPentahoObjectReference<T>
-
compareTo
public int compareTo(org.pentaho.platform.api.engine.IPentahoObjectReference<T> o)
- Specified by:
compareTo
in interfaceComparable<T>
-
-