org.compass.core.mapping.osem
Class ConstantMetaDataMapping

java.lang.Object
  extended by org.compass.core.mapping.AbstractMapping
      extended by org.compass.core.mapping.AbstractResourcePropertyMapping
          extended by org.compass.core.mapping.osem.ConstantMetaDataMapping
All Implemented Interfaces:
InternalResourcePropertyMapping, Mapping, OsemMapping, OverrideByNameMapping, ResourcePropertyMapping

public class ConstantMetaDataMapping
extends AbstractResourcePropertyMapping
implements OverrideByNameMapping, OsemMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping
ResourcePropertyMapping.ExcludeFromAllType, ResourcePropertyMapping.ReverseType
 
Constructor Summary
ConstantMetaDataMapping()
           
 
Method Summary
 void addMetaDataValue(String value)
           
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 boolean hasAccessors()
           
 boolean isOverrideByName()
           
 Iterator metaDataValuesIt()
           
 void setOverrideByName(boolean overrideByName)
           
 
Methods inherited from class org.compass.core.mapping.AbstractResourcePropertyMapping
copy, getAnalyzer, getBoost, getExcludeFromAll, getIndex, getNullValue, getReverse, getRootAlias, getSpellCheck, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setNullValue, setOmitNorms, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector
 
Methods inherited from class org.compass.core.mapping.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, 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.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

ConstantMetaDataMapping

public ConstantMetaDataMapping()
Method Detail

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

hasAccessors

public boolean hasAccessors()
Specified by:
hasAccessors in interface OsemMapping

addMetaDataValue

public void addMetaDataValue(String value)

metaDataValuesIt

public Iterator metaDataValuesIt()

isOverrideByName

public boolean isOverrideByName()
Specified by:
isOverrideByName in interface OverrideByNameMapping

setOverrideByName

public void setOverrideByName(boolean overrideByName)
Specified by:
setOverrideByName in interface OverrideByNameMapping


Copyright (c) 2004-2008 The Compass Project.