public class HSearchPropertyTypeDescriptor extends Object implements HSearchTypeDescriptor
TypeDescriptor representing a property of a Hibernate Search indexed entity.| Constructor and Description |
|---|
HSearchPropertyTypeDescriptor() |
| 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.
|
public boolean hasProperty(String propertyName)
hasProperty in interface TypeDescriptorpublic Class<?> getIndexedEntityType()
HSearchTypeDescriptorgetIndexedEntityType in interface HSearchTypeDescriptorpublic 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.Copyright © 2014. All rights reserved.