org.hibernate.search.metadata.impl
Class PropertyDescriptorImpl
java.lang.Object
org.hibernate.search.metadata.impl.PropertyDescriptorImpl
- All Implemented Interfaces:
- FieldContributor, PropertyDescriptor
public class PropertyDescriptorImpl
- extends Object
- implements PropertyDescriptor
- Author:
- Hardy Ferentschik
PropertyDescriptorImpl
public PropertyDescriptorImpl(String name,
boolean id,
Set<FieldDescriptor> fieldDescriptors)
getName
public String getName()
- Description copied from interface:
PropertyDescriptor
- Name of the property.
- Specified by:
getName
in interface PropertyDescriptor
- Returns:
- name of the property
isId
public boolean isId()
- Description copied from interface:
PropertyDescriptor
- Returns
true
if the property is the document id, false
otherwise
- Specified by:
isId
in interface PropertyDescriptor
- Returns:
true
if the property is the document id, false
otherwise- See Also:
org.hibernate.search.annotations.DocumentId}
getIndexedFields
public Set<FieldDescriptor> getIndexedFields()
- Specified by:
getIndexedFields
in interface FieldContributor
- Returns:
- a set of
FieldDescriptor
s for the fields contributed by this element
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved