|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractResourcePropertyMapping
public abstract class AbstractResourcePropertyMapping
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping |
|---|
ResourcePropertyMapping.ExcludeFromAllType, ResourcePropertyMapping.ReverseType |
| Constructor Summary | |
|---|---|
AbstractResourcePropertyMapping()
|
|
| Method Summary | |
|---|---|
protected void |
copy(AbstractResourcePropertyMapping copy)
|
String |
getAnalyzer()
Returns the anayzer name that is associated with the property. |
float |
getBoost()
Returns the boost level. |
ResourcePropertyMapping.ExcludeFromAllType |
getExcludeFromAll()
|
Property.Index |
getIndex()
|
String |
getNullValue()
|
String |
getOriginalName()
Returns the original name of the resource property, before any prefix aditions or any other post processing manipulation. |
ResourcePropertyMapping.ReverseType |
getReverse()
|
String |
getRootAlias()
Returns the root resource mapping alias name this resource property mapping belongs to. |
SpellCheckType |
getSpellCheck()
|
Property.Store |
getStore()
|
Property.TermVector |
getTermVector()
|
boolean |
hasNullValue()
|
boolean |
isInternal()
Returns true if this mapping is an internal one ($/ notation). |
Boolean |
isOmitNorms()
Should the reosurce property omit norms or not. |
Boolean |
isOmitTf()
Expert: If set, omit tf from postings of this indexed field. |
void |
setAnalyzer(String analyzer)
|
void |
setBoost(float boost)
|
void |
setExcludeFromAll(ResourcePropertyMapping.ExcludeFromAllType excludeFromAll)
|
void |
setIndex(Property.Index index)
|
void |
setInternal(boolean isInternal)
|
void |
setName(String name)
Sets the name of the mapping. |
void |
setNullValue(String nullValue)
Allows to set the resource property mapping null value. |
void |
setOmitNorms(Boolean omitNorms)
|
void |
setOmitTf(Boolean omitTf)
|
void |
setReverse(ResourcePropertyMapping.ReverseType reverse)
|
void |
setRootAlias(String rootAlias)
|
void |
setSpellCheck(SpellCheckType spellCheck)
|
void |
setStore(Property.Store store)
|
void |
setTermVector(Property.TermVector termVector)
|
| Methods inherited from class org.compass.core.mapping.support.AbstractMapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.compass.core.mapping.ResourcePropertyMapping |
|---|
getResourcePropertyConverter |
| Methods inherited from interface org.compass.core.mapping.Mapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath |
| Constructor Detail |
|---|
public AbstractResourcePropertyMapping()
| Method Detail |
|---|
protected void copy(AbstractResourcePropertyMapping copy)
public void setName(String name)
InternalMapping
setName in interface InternalMappingsetName in class AbstractMappingpublic String getOriginalName()
ResourcePropertyMapping
getOriginalName in interface ResourcePropertyMappingpublic String getRootAlias()
ResourcePropertyMapping
getRootAlias in interface ResourcePropertyMappingpublic void setRootAlias(String rootAlias)
public float getBoost()
ResourcePropertyMapping
getBoost in interface ResourcePropertyMappingProperty.setBoost(float)public void setBoost(float boost)
setBoost in interface InternalResourcePropertyMappingpublic Property.Store getStore()
getStore in interface ResourcePropertyMappingpublic void setStore(Property.Store store)
setStore in interface InternalResourcePropertyMappingpublic Property.Index getIndex()
getIndex in interface ResourcePropertyMappingpublic void setIndex(Property.Index index)
setIndex in interface InternalResourcePropertyMappingpublic boolean isInternal()
ResourcePropertyMappingtrue if this mapping is an internal one ($/ notation).
isInternal in interface ResourcePropertyMappingpublic void setInternal(boolean isInternal)
setInternal in interface InternalResourcePropertyMappingpublic ResourcePropertyMapping.ExcludeFromAllType getExcludeFromAll()
getExcludeFromAll in interface ResourcePropertyMappingpublic void setExcludeFromAll(ResourcePropertyMapping.ExcludeFromAllType excludeFromAll)
setExcludeFromAll in interface InternalResourcePropertyMappingpublic Property.TermVector getTermVector()
getTermVector in interface ResourcePropertyMappingpublic void setTermVector(Property.TermVector termVector)
setTermVector in interface InternalResourcePropertyMappingpublic String getAnalyzer()
ResourcePropertyMappingnull (i.e. not set).
getAnalyzer in interface ResourcePropertyMappingpublic void setAnalyzer(String analyzer)
setAnalyzer in interface InternalResourcePropertyMappingpublic ResourcePropertyMapping.ReverseType getReverse()
getReverse in interface ResourcePropertyMappingpublic void setReverse(ResourcePropertyMapping.ReverseType reverse)
setReverse in interface InternalResourcePropertyMappingpublic Boolean isOmitNorms()
ResourcePropertyMapping
isOmitNorms in interface ResourcePropertyMappingProperty.setOmitNorms(boolean)public void setOmitNorms(Boolean omitNorms)
setOmitNorms in interface InternalResourcePropertyMappingpublic String getNullValue()
getNullValue in interface ResourcePropertyMappingpublic Boolean isOmitTf()
ResourcePropertyMapping
isOmitTf in interface ResourcePropertyMappingProperty.setOmitTf(boolean)public void setOmitTf(Boolean omitTf)
setOmitTf in interface InternalResourcePropertyMappingpublic void setNullValue(String nullValue)
InternalResourcePropertyMapping
setNullValue in interface InternalResourcePropertyMappingpublic boolean hasNullValue()
hasNullValue in interface ResourcePropertyMappingpublic SpellCheckType getSpellCheck()
getSpellCheck in interface ResourcePropertyMappingpublic void setSpellCheck(SpellCheckType spellCheck)
setSpellCheck in interface InternalResourcePropertyMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||