org.compass.core.mapping
Class AbstractResourcePropertyMapping
java.lang.Object
org.compass.core.mapping.AbstractMapping
org.compass.core.mapping.AbstractResourcePropertyMapping
- All Implemented Interfaces:
- InternalResourcePropertyMapping, Mapping, ResourcePropertyMapping
- Direct Known Subclasses:
- ClassPropertyMetaDataMapping, ConstantMetaDataMapping, DynamicMetaDataMapping, RawResourcePropertyMapping, XmlContentMapping, XmlPropertyMapping
public abstract class AbstractResourcePropertyMapping
- extends AbstractMapping
- implements InternalResourcePropertyMapping
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractResourcePropertyMapping
public AbstractResourcePropertyMapping()
copy
protected void copy(AbstractResourcePropertyMapping copy)
getRootAlias
public String getRootAlias()
- Description copied from interface:
ResourcePropertyMapping
- Returns the root resource mapping alias name this resource property mapping belongs to.
- Specified by:
getRootAlias in interface ResourcePropertyMapping
setRootAlias
public void setRootAlias(String rootAlias)
getBoost
public float getBoost()
- Specified by:
getBoost in interface ResourcePropertyMapping
setBoost
public void setBoost(float boost)
- Specified by:
setBoost in interface InternalResourcePropertyMapping
getStore
public Property.Store getStore()
- Specified by:
getStore in interface ResourcePropertyMapping
setStore
public void setStore(Property.Store store)
- Specified by:
setStore in interface InternalResourcePropertyMapping
getIndex
public Property.Index getIndex()
- Specified by:
getIndex in interface ResourcePropertyMapping
setIndex
public void setIndex(Property.Index index)
- Specified by:
setIndex in interface InternalResourcePropertyMapping
isInternal
public boolean isInternal()
- Description copied from interface:
ResourcePropertyMapping
- Returns
true if this mapping is an internal one ($/ notation).
- Specified by:
isInternal in interface ResourcePropertyMapping
setInternal
public void setInternal(boolean isInternal)
- Specified by:
setInternal in interface InternalResourcePropertyMapping
getExcludeFromAll
public ResourcePropertyMapping.ExcludeFromAllType getExcludeFromAll()
- Specified by:
getExcludeFromAll in interface ResourcePropertyMapping
setExcludeFromAll
public void setExcludeFromAll(ResourcePropertyMapping.ExcludeFromAllType excludeFromAll)
- Specified by:
setExcludeFromAll in interface InternalResourcePropertyMapping
getTermVector
public Property.TermVector getTermVector()
- Specified by:
getTermVector in interface ResourcePropertyMapping
setTermVector
public void setTermVector(Property.TermVector termVector)
- Specified by:
setTermVector in interface InternalResourcePropertyMapping
getAnalyzer
public String getAnalyzer()
- Description copied from interface:
ResourcePropertyMapping
- Returns the anayzer name that is associated with the property.
Can be
null (i.e. not set).
- Specified by:
getAnalyzer in interface ResourcePropertyMapping
setAnalyzer
public void setAnalyzer(String analyzer)
- Specified by:
setAnalyzer in interface InternalResourcePropertyMapping
getReverse
public ResourcePropertyMapping.ReverseType getReverse()
- Specified by:
getReverse in interface ResourcePropertyMapping
setReverse
public void setReverse(ResourcePropertyMapping.ReverseType reverse)
- Specified by:
setReverse in interface InternalResourcePropertyMapping
isOmitNorms
public Boolean isOmitNorms()
- Specified by:
isOmitNorms in interface ResourcePropertyMapping
setOmitNorms
public void setOmitNorms(Boolean omitNorms)
- Specified by:
setOmitNorms in interface InternalResourcePropertyMapping
getNullValue
public String getNullValue()
- Specified by:
getNullValue in interface ResourcePropertyMapping
setNullValue
public void setNullValue(String nullValue)
- Description copied from interface:
InternalResourcePropertyMapping
- Allows to set the resource property mapping null value.
- Specified by:
setNullValue in interface InternalResourcePropertyMapping
hasNullValue
public boolean hasNullValue()
- Specified by:
hasNullValue in interface ResourcePropertyMapping
getSpellCheck
public SpellCheckType getSpellCheck()
- Specified by:
getSpellCheck in interface ResourcePropertyMapping
setSpellCheck
public void setSpellCheck(SpellCheckType spellCheck)
- Specified by:
setSpellCheck in interface InternalResourcePropertyMapping
Copyright (c) 2004-2008 The Compass Project.