org.compass.core.mapping.osem
Class ClassPropertyMetaDataMapping

java.lang.Object
  extended by org.compass.core.mapping.AbstractMapping
      extended by org.compass.core.mapping.AbstractResourcePropertyMapping
          extended by org.compass.core.mapping.osem.ClassPropertyMetaDataMapping
All Implemented Interfaces:
Mapping, ObjectMapping, ResourcePropertyMapping

public class ClassPropertyMetaDataMapping
extends AbstractResourcePropertyMapping
implements ObjectMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping
ResourcePropertyMapping.ReverseType
 
Constructor Summary
ClassPropertyMetaDataMapping()
           
 
Method Summary
 boolean canActAsPRopertyId()
           
 boolean canBeCollectionWrapped()
           
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 String getAccessor()
           
 Getter getGetter()
           
 Class getObjClass()
           
 String getPropertyName()
           
 Setter getSetter()
           
 void setAccessor(String accessor)
           
 void setGetter(Getter getter)
           
 void setObjClass(Class objClass)
           
 void setPropertyName(String propertyName)
           
 void setSetter(Setter setter)
           
 
Methods inherited from class org.compass.core.mapping.AbstractResourcePropertyMapping
copy, getAnalyzer, getBoost, getIndex, getReverse, getStore, getTermVector, isExcludeFromAll, isInternal, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setReverse, 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
 

Constructor Detail

ClassPropertyMetaDataMapping

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

canBeCollectionWrapped

public boolean canBeCollectionWrapped()
Specified by:
canBeCollectionWrapped in interface ObjectMapping

getGetter

public Getter getGetter()
Specified by:
getGetter in interface ObjectMapping

setGetter

public void setGetter(Getter getter)
Specified by:
setGetter in interface ObjectMapping

getSetter

public Setter getSetter()
Specified by:
getSetter in interface ObjectMapping

setSetter

public void setSetter(Setter setter)
Specified by:
setSetter in interface ObjectMapping

canActAsPRopertyId

public boolean canActAsPRopertyId()

getAccessor

public String getAccessor()
Specified by:
getAccessor in interface ObjectMapping

setAccessor

public void setAccessor(String accessor)
Specified by:
setAccessor in interface ObjectMapping

getObjClass

public Class getObjClass()
Specified by:
getObjClass in interface ObjectMapping

setObjClass

public void setObjClass(Class objClass)
Specified by:
setObjClass in interface ObjectMapping

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface ObjectMapping

setPropertyName

public void setPropertyName(String propertyName)
Specified by:
setPropertyName in interface ObjectMapping


Copyright (c) 2004-2006 The Compass Project.