org.compass.core.mapping.osem
Class DynamicMetaDataMapping

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

public class DynamicMetaDataMapping
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
DynamicMetaDataMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 String getExpression()
           
 String getFormat()
           
 Class getType()
           
 boolean hasAccessors()
           
 boolean isOverrideByName()
           
 void setExpression(String expression)
           
 void setFormat(String format)
           
 void setOverrideByName(boolean overrideByName)
           
 void setType(Class type)
           
 
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

DynamicMetaDataMapping

public DynamicMetaDataMapping()
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

isOverrideByName

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

setOverrideByName

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

getExpression

public String getExpression()

setExpression

public void setExpression(String expression)

getFormat

public String getFormat()

setFormat

public void setFormat(String format)

getType

public Class getType()

setType

public void setType(Class type)


Copyright (c) 2004-2008 The Compass Project.