Class SolrjFieldInfoNature
java.lang.Object
org.castor.core.nature.BaseNature
org.exolab.castor.builder.info.nature.SolrjFieldInfoNature
- Since:
- 1.3.3
- Author:
- Werner Guttmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the solrj field name.getId()
Returns the fully qualified class name of the nature.boolean
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.Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
Constructor Details
-
SolrjFieldInfoNature
-
-
Method Details
-
getId
Returns the fully qualified class name of the nature.- Returns:
- the nature id.
- See Also:
-
getFieldName
-
setFieldName
Sets the solrj field name.- Parameters:
fieldName
- name of the field.
-
isIdDefinition
public boolean isIdDefinition()Returns true if the solrj annotation is of type @Id.- Returns:
- true if the solrj annotation is of type @Id.
-
setIdDefinition
public void setIdDefinition(boolean idDefinition) Sets whether or not the annotated solrj field is of type @Id.- Parameters:
elementDef
- The flag indicating whether or not the annotated solrj field is of type @Id.
-