public class PropertyDescriptorImpl extends Object implements PropertyDescriptor
Constructor and Description |
---|
PropertyDescriptorImpl(String name,
boolean id,
Set<FieldDescriptor> fieldDescriptors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<FieldDescriptor> |
getIndexedFields() |
String |
getName()
Name of the property.
|
int |
hashCode() |
boolean |
isId()
Returns
true if the property is the document id, false otherwise |
String |
toString() |
public PropertyDescriptorImpl(String name, boolean id, Set<FieldDescriptor> fieldDescriptors)
public String getName()
PropertyDescriptor
getName
in interface PropertyDescriptor
public boolean isId()
PropertyDescriptor
true
if the property is the document id, false
otherwiseisId
in interface PropertyDescriptor
true
if the property is the document id, false
otherwiseDocumentId
public Set<FieldDescriptor> getIndexedFields()
getIndexedFields
in interface FieldContributor
FieldDescriptor
s for the fields contributed by this elementCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved