public class EntityMeta extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<EntityMeta> |
CLUSTERED_COUNTER_FILTER |
static com.google.common.base.Predicate<EntityMeta> |
EXCLUDE_CLUSTERED_COUNTER_FILTER |
| Constructor and Description |
|---|
EntityMeta() |
public static final com.google.common.base.Predicate<EntityMeta> CLUSTERED_COUNTER_FILTER
public static final com.google.common.base.Predicate<EntityMeta> EXCLUDE_CLUSTERED_COUNTER_FILTER
public void addInterceptor(Interceptor<?> interceptor)
public List<Interceptor<?>> getInterceptors()
protected List<Interceptor<?>> getInterceptorsForEvent(Event event)
public <T> T instanciate()
public boolean hasEmbeddedId()
public <T> Class<T> getEntityClass()
public void setEntityClass(Class<?> entityClass)
public String getClassName()
public void setClassName(String className)
public String getTableName()
public void setTableName(String tableName)
public Map<String,PropertyMeta> getPropertyMetas()
public void setPropertyMetas(Map<String,PropertyMeta> propertyMetas)
public PropertyMeta getIdMeta()
public void setIdMeta(PropertyMeta idMeta)
public Map<Method,PropertyMeta> getGetterMetas()
public void setGetterMetas(Map<Method,PropertyMeta> getterMetas)
public Map<Method,PropertyMeta> getSetterMetas()
public void setSetterMetas(Map<Method,PropertyMeta> setterMetas)
public boolean isClusteredEntity()
public void setClusteredEntity(boolean clusteredEntity)
public ConsistencyLevel getReadConsistencyLevel()
public ConsistencyLevel getWriteConsistencyLevel()
public Pair<ConsistencyLevel,ConsistencyLevel> getConsistencyLevels()
public void setConsistencyLevels(Pair<ConsistencyLevel,ConsistencyLevel> consistencyLevels)
public <T> Class<T> getIdClass()
public void setIdClass(Class<?> idClass)
public List<PropertyMeta> getAllMetas()
public List<PropertyMeta> getAllCounterMetas()
public List<PropertyMeta> getAllMetasExceptId()
public void setAllMetasExceptId(List<PropertyMeta> allMetasExceptIdMeta)
public boolean isClusteredCounter()
public void setClusteredCounter(boolean clusteredCounter)
public boolean isValueless()
public List<PropertyMeta> getAllMetasExceptIdAndCounters()
public void setAllMetasExceptIdAndCounters(List<PropertyMeta> allMetasExceptIdAndCounters)
public List<PropertyMeta> getAllMetasExceptCounters()
public void setAllMetasExceptCounters(List<PropertyMeta> allMetasExceptCounters)
public List<PropertyMeta> getColumnsMetaToInsert()
public List<PropertyMeta> getColumnsMetaToLoad()
Copyright © 2012-2014. All Rights Reserved.