|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.castor.core.nature.BaseNature
org.exolab.castor.builder.info.nature.SolrjFieldInfoNature
public final class SolrjFieldInfoNature
A SOLRJ specific view of a FieldInfo. Implementation based on
property access on FieldInfo.
| Constructor Summary | |
|---|---|
SolrjFieldInfoNature(FieldInfo fieldInfo)
Constructor taking a FieldInfo. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFieldName()
Retrieves the solrj field name. |
java.lang.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(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolrjFieldInfoNature(FieldInfo fieldInfo)
FieldInfo.
fieldInfo - in focus.| Method Detail |
|---|
public java.lang.String getId()
org.exolab.castor.builder.info.nature.Nature#getId()public java.lang.String getFieldName()
public void setFieldName(java.lang.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.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||