org.compass.core.mapping.osem
Class DynamicMetaDataMapping

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

public class DynamicMetaDataMapping
extends AbstractResourcePropertyMapping
implements InternalOverrideByNameMapping, InternalOsemMapping

Author:
kimchy

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()
          Returns true to control of this mapping overrides by name anotehr mapping within the same multiple mapping container.
 void setExpression(String expression)
           
 void setFormat(String format)
           
 void setOverrideByName(boolean overrideByName)
           
 void setType(Class type)
           
 
Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping
copy, getAnalyzer, getBoost, getExcludeFromAll, getIndex, getNullValue, getOriginalName, getResourcePropertyConverter, 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 org.compass.core.mapping.support.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, 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
 
Methods inherited from interface org.compass.core.mapping.internal.InternalMapping
setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.internal.InternalMapping
setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 

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

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-2009 The Compass Project.