public final class SolrjFieldInfoNature extends BaseNature
| Constructor and Description |
|---|
SolrjFieldInfoNature(FieldInfo fieldInfo)
Constructor taking a
FieldInfo. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Retrieves the solrj field name.
|
String |
getId()
Returns the fully qualified class name of the nature.
|
boolean |
isIdDefinition()
Returns true if the solrj annotation is of type @Id.
|
void |
setFieldName(String fieldName)
Sets the solrj field name.
|
void |
setIdDefinition(boolean idDefinition)
Sets whether or not the annotated solrj field is of type @Id.
|
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setPropertypublic String getId()
org.exolab.castor.builder.info.nature.Nature#getId()public String getFieldName()
public void setFieldName(String fieldName)
fieldName - name of the field.public boolean isIdDefinition()
public void setIdDefinition(boolean idDefinition)
elementDef - The flag indicating whether or not the annotated solrj field is of type @Id.Copyright © 2016. All rights reserved.