org.compass.core.mapping.json
Class JsonPropertyMapping
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractResourcePropertyMapping
org.compass.core.mapping.json.JsonPropertyMapping
- All Implemented Interfaces:
- InternalMapping, InternalOverrideByNameMapping, InternalResourcePropertyMapping, JsonMapping, Mapping, OverrideByNameMapping, ResourcePropertyMapping
- Direct Known Subclasses:
- JsonBoostPropertyMapping, JsonIdMapping, JsonPropertyAnalyzerController
public class JsonPropertyMapping
- extends AbstractResourcePropertyMapping
- implements JsonMapping, ResourcePropertyMapping, InternalOverrideByNameMapping
- Author:
- kimchy
| Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping |
copy, getAnalyzer, getBoost, getExcludeFromAll, getIndex, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms, isOmitTf, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setName, setNullValue, setOmitNorms, setOmitTf, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector |
| 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 |
getAnalyzer, getBoost, getExcludeFromAll, getIndex, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms, isOmitTf |
JsonPropertyMapping
public JsonPropertyMapping()
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
copy
protected void copy(JsonPropertyMapping copy)
getFullPath
public String getFullPath()
- Description copied from interface:
JsonMapping
- Returns a dot path to the mapping from the root.
- Specified by:
getFullPath in interface JsonMapping
setFullPath
public void setFullPath(String fullPath)
- Description copied from interface:
JsonMapping
- Sets the full path (dot path notation) of the given root.
- Specified by:
setFullPath in interface JsonMapping
isOverrideByName
public boolean isOverrideByName()
- Description copied from interface:
OverrideByNameMapping
- Returns
true to control of this mapping overrides by name anotehr mapping
within the same multiple mapping container.
- Specified by:
isOverrideByName in interface OverrideByNameMapping
setOverrideByName
public void setOverrideByName(boolean overrideByName)
- Specified by:
setOverrideByName in interface InternalOverrideByNameMapping
getValueConverter
public Converter getValueConverter()
setValueConverter
public void setValueConverter(Converter valueConverter)
getValueConverterName
public String getValueConverterName()
setValueConverterName
public void setValueConverterName(String valueConverterName)
getFormat
public String getFormat()
setFormat
public void setFormat(String format)
getNamingType
public JsonPropertyMapping.NamingType getNamingType()
setNamingType
public void setNamingType(JsonPropertyMapping.NamingType namingType)
isDynamic
public boolean isDynamic()
setDynamic
public void setDynamic(boolean dynamic)
getResourcePropertyConverter
public ResourcePropertyConverter getResourcePropertyConverter()
- Specified by:
getResourcePropertyConverter in interface ResourcePropertyMapping
Copyright (c) 2004-2008 The Compass Project.