org.compass.core.mapping.internal
Interface InternalMapping
- All Superinterfaces:
- Mapping
- All Known Subinterfaces:
- InternalAliasMapping, InternalContractMapping, InternalMultipleMapping, InternalObjectMapping, InternalOsemMapping, InternalOverrideByNameMapping, InternalRefAliasObjectMapping, InternalResourceMapping
- All Known Implementing Classes:
- AbstractAccessorMapping, AbstractAccessorMultipleMapping, AbstractCollectionMapping, AbstractMapping, AbstractMultipleMapping, AbstractRefAliasMapping, AbstractResourceMapping, AbstractResourcePropertyMapping, ArrayMapping, ClassBoostPropertyMapping, ClassIdPropertyMapping, ClassMapping, ClassPropertyAnalyzerController, ClassPropertyMapping, ClassPropertyMetaDataMapping, CollectionMapping, ComponentMapping, ConstantMetaDataMapping, DefaultContractMapping, DynamicMetaDataMapping, IdComponentMapping, JsonArrayMapping, JsonBoostPropertyMapping, JsonContentMapping, JsonIdMapping, JsonPropertyAnalyzerController, JsonPropertyMapping, NullResourceMapping, ParentMapping, PlainCascadeMapping, PlainJsonObjectMapping, RawBoostPropertyMapping, RawResourceMapping, RawResourcePropertyAnalyzerController, RawResourcePropertyIdMapping, RawResourcePropertyMapping, ReferenceMapping, RootJsonObjectMapping, XmlBoostPropertyMapping, XmlContentMapping, XmlIdMapping, XmlObjectMapping, XmlPropertyAnalyzerController, XmlPropertyMapping
public interface InternalMapping
- extends Mapping
An extension to the Mapping interface allowing to making it mutable.
- Author:
- kimchy
setName
void setName(String name)
- Sets the name of the mapping. Acts as the "logical" name of the mapping (think
Java Bean Property name).
setPath
void setPath(PropertyPath path)
- Sets the path of the mapping. The path is the value under which it will
be saved in the Search Engine.
setConverter
void setConverter(Converter converter)
- Sets the conveter associated with the mapping. The converter is responsible for
marshalling and unmarshalling the Mapping from and to the Search Engine.
setConverterName
void setConverterName(String name)
- Sets the converter name associated with the Mapping. The conveter name
can be the actual class name of the converter, or a lookup name that has a
converter associated with it.
Copyright (c) 2004-2008 The Compass Project.