org.hibernate.search.query.engine.impl
Class EntityInfoImpl

java.lang.Object
  extended by org.hibernate.search.query.engine.impl.EntityInfoImpl
All Implemented Interfaces:
EntityInfo

public class EntityInfoImpl
extends Object
implements EntityInfo

Wrapper class describing the loading of an element.

Author:
Emmanuel Bernard, Hardy Ferentschik

Constructor Summary
EntityInfoImpl(Class clazz, String idName, Serializable id, Object[] projection)
           
 
Method Summary
 Class<?> getClazz()
           
 Serializable getId()
           
 String getIdName()
           
 List<Integer> getIndexesOfThis()
           
 Object[] getProjection()
           
 boolean isProjectThis()
           
 void populateWithEntityInstance(Object entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityInfoImpl

public EntityInfoImpl(Class clazz,
                      String idName,
                      Serializable id,
                      Object[] projection)
Method Detail

getClazz

public Class<?> getClazz()
Specified by:
getClazz in interface EntityInfo

getId

public Serializable getId()
Specified by:
getId in interface EntityInfo

getIdName

public String getIdName()
Specified by:
getIdName in interface EntityInfo

getProjection

public Object[] getProjection()
Specified by:
getProjection in interface EntityInfo

getIndexesOfThis

public List<Integer> getIndexesOfThis()
Specified by:
getIndexesOfThis in interface EntityInfo

isProjectThis

public boolean isProjectThis()
Specified by:
isProjectThis in interface EntityInfo

populateWithEntityInstance

public void populateWithEntityInstance(Object entity)
Specified by:
populateWithEntityInstance in interface EntityInfo


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved