public class HSearchEmbeddedEntityTypeDescriptor extends Object implements HSearchTypeDescriptor
TypeDescriptor representing an embedded entity of a Hibernate Search indexed entity.| Constructor and Description |
|---|
HSearchEmbeddedEntityTypeDescriptor(Class<?> indexedEntityType,
List<String> path,
ClassBasedLucenePropertyHelper propertyHelper)
Creates a new
HSearchEmbeddedEntityTypeDescriptor. |
| 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 HSearchEmbeddedEntityTypeDescriptor(Class<?> indexedEntityType, List<String> path, ClassBasedLucenePropertyHelper propertyHelper)
HSearchEmbeddedEntityTypeDescriptor.indexedEntityType - the indexed entity into which this entity is embeddedpath - the property path from the embedding indexed entity to this entitypropertyHelper - a helper for dealing with propertiespublic boolean hasProperty(String propertyName)
hasProperty in interface TypeDescriptorpublic boolean isAnalyzed(String propertyName)
HSearchTypeDescriptorisAnalyzed in interface HSearchTypeDescriptorpropertyName - the name of the propertytrue if the given property is analyed, false otherwise.public boolean isEmbedded(String propertyName)
HSearchTypeDescriptorisEmbedded in interface HSearchTypeDescriptorpropertyName - the name of the propertytrue if the given property denotes an entity embedded into this one, false otherwise.public Class<?> getIndexedEntityType()
HSearchTypeDescriptorgetIndexedEntityType in interface HSearchTypeDescriptorCopyright © 2014. All rights reserved.