public class HSearchIndexedEntityTypeDescriptor extends Object implements HSearchTypeDescriptor
TypeDescriptor
representing a Hibernate Search indexed entity.Constructor and Description |
---|
HSearchIndexedEntityTypeDescriptor(Class<?> indexedEntityType,
ClassBasedLucenePropertyHelper propertyHelper) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getIndexedEntityType()
Returns the Java type of the represented indexed entity.
|
boolean |
hasProperty(String propertyName) |
boolean |
isAnalyzed(String propertyName)
Whether the given property of this indexed entity is analyzed or not.
|
boolean |
isEmbedded(String propertyName)
Whether the given property denotes an embedded entity or not.
|
String |
toString() |
public HSearchIndexedEntityTypeDescriptor(Class<?> indexedEntityType, ClassBasedLucenePropertyHelper propertyHelper)
public boolean hasProperty(String propertyName)
hasProperty
in interface TypeDescriptor
public Class<?> getIndexedEntityType()
HSearchTypeDescriptor
getIndexedEntityType
in interface HSearchTypeDescriptor
public boolean isAnalyzed(String propertyName)
HSearchTypeDescriptor
isAnalyzed
in interface HSearchTypeDescriptor
propertyName
- the name of the propertytrue
if the given property is analyed, false
otherwise.public boolean isEmbedded(String propertyName)
HSearchTypeDescriptor
isEmbedded
in interface HSearchTypeDescriptor
propertyName
- the name of the propertytrue
if the given property denotes an entity embedded into this one, false
otherwise.Copyright © 2013. All rights reserved.