org.compass.core.mapping.osem
Class ClassPropertyAnalyzerController
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractMultipleMapping
org.compass.core.mapping.osem.AbstractAccessorMultipleMapping
org.compass.core.mapping.osem.ClassPropertyMapping
org.compass.core.mapping.osem.ClassPropertyAnalyzerController
- All Implemented Interfaces:
- InternalMapping, InternalMultipleMapping, InternalOverrideByNameMapping, Mapping, MultipleMapping, InternalObjectMapping, InternalOsemMapping, ObjectMapping, OsemMapping, OverrideByNameMapping, ResourceAnalyzerController
public class ClassPropertyAnalyzerController
- extends ClassPropertyMapping
- implements ResourceAnalyzerController
- Author:
- kimchy
| Methods inherited from class org.compass.core.mapping.osem.ClassPropertyMapping |
canBeCollectionWrapped, copy, getAccessor, getAnalyzer, getBoost, getClassName, getColClassName, getDefinedInAlias, getExcludeFromAll, getIdMapping, getIdPropertyIndex, getManagedId, getManagedIdConverter, getManagedIdConverterName, getManagedIdIndex, getPropertyName, isIdPropertySet, isOverrideByName, setAccessor, setAnalyzer, setBoost, setClassName, setColClassName, setDefinedInAlias, setExcludeFromAll, setIdPropertyIndex, setManagedId, setManagedIdConverter, setManagedIdConverterName, setManagedIdIndex, setOverrideByName, setPropertyName |
| Methods inherited from class org.compass.core.mapping.support.AbstractMultipleMapping |
addMapping, addMappings, clearMappings, copy, getMapping, getMapping, mappingsIt, mappingsSize, removeExistingByName, replaceMappings, shallowCopy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPropertyAnalyzerController
public ClassPropertyAnalyzerController()
copy
public Mapping copy()
- Description copied from interface:
Mapping
- Copies over the mapping definition into a newly instanciated Mapping object.
- Specified by:
copy in interface Mapping- Overrides:
copy in class ClassPropertyMapping
getAnalyzerResourcePropertyName
public String getAnalyzerResourcePropertyName()
- Description copied from interface:
ResourceAnalyzerController
- Returns the name of the
Resource
Property which value will control
the analyzer to be used for the resource.
- Specified by:
getAnalyzerResourcePropertyName in interface ResourceAnalyzerController
getNullAnalyzer
public String getNullAnalyzer()
- Description copied from interface:
ResourceAnalyzerController
- Returns the name of the analyzer to be used in case the
Resource
Property value is null.
- Specified by:
getNullAnalyzer in interface ResourceAnalyzerController
setNullAnalyzer
public void setNullAnalyzer(String nullAnalyzer)
hasNullAnalyzer
public boolean hasNullAnalyzer()
- Description copied from interface:
ResourceAnalyzerController
- Returns
true if the controller has a null analyzer configured.
- Specified by:
hasNullAnalyzer in interface ResourceAnalyzerController
requiresIdProcessing
public boolean requiresIdProcessing()
- Description copied from class:
ClassPropertyMapping
- Returns if the mapping must have id processing performed on it (even, for example, when support
unmarshall is set to false).
- Overrides:
requiresIdProcessing in class ClassPropertyMapping
Copyright (c) 2004-2008 The Compass Project.