Class AbstractPentahoObjectReference<T>

    • Constructor Detail

      • AbstractPentahoObjectReference

        protected AbstractPentahoObjectReference​(Class<T> type,
                                                 Map<String,​Object> attributes,
                                                 Integer ranking)
    • Method Detail

      • getAttributes

        public Map<String,​Object> getAttributes()
        Specified by:
        getAttributes in interface org.pentaho.platform.api.engine.IPentahoObjectReference<T>
      • getObject

        public T getObject()
        Specified by:
        getObject in interface org.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 interface org.pentaho.platform.api.engine.IPentahoObjectReference<T>
      • compareTo

        public int compareTo​(org.pentaho.platform.api.engine.IPentahoObjectReference<T> o)
        Specified by:
        compareTo in interface Comparable<T>
      • getObjectClass

        public Class<T> getObjectClass()
        Specified by:
        getObjectClass in interface org.pentaho.platform.api.engine.IPentahoObjectReference<T>