org.compass.core.mapping.osem
Class AbstractRefAliasMapping

java.lang.Object
  extended by org.compass.core.mapping.AbstractMapping
      extended by org.compass.core.mapping.osem.AbstractAccessorMapping
          extended by org.compass.core.mapping.osem.AbstractRefAliasMapping
All Implemented Interfaces:
Mapping, HasRefAliasMapping, ObjectMapping
Direct Known Subclasses:
ComponentMapping, ReferenceMapping

public abstract class AbstractRefAliasMapping
extends AbstractAccessorMapping
implements HasRefAliasMapping

Author:
kimchy

Constructor Summary
AbstractRefAliasMapping()
           
 
Method Summary
protected  void copy(AbstractRefAliasMapping mapping)
           
 String getRefAlias()
           
 Class getRefClass()
           
 ClassMapping getRefClassMapping()
           
 void setRefAlias(String refAlias)
           
 void setRefClass(Class refClass)
           
 void setRefClassMapping(ClassMapping refClassMapping)
           
 
Methods inherited from class org.compass.core.mapping.osem.AbstractAccessorMapping
copy, getAccessor, getGetter, getObjClass, getPropertyName, getSetter, setAccessor, setGetter, setObjClass, setPropertyName, setSetter
 
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.osem.ObjectMapping
canBeCollectionWrapped, getAccessor, getGetter, getObjClass, getPropertyName, getSetter, setAccessor, setGetter, setObjClass, setPropertyName, setSetter
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

AbstractRefAliasMapping

public AbstractRefAliasMapping()
Method Detail

copy

protected void copy(AbstractRefAliasMapping mapping)

getRefAlias

public String getRefAlias()
Specified by:
getRefAlias in interface HasRefAliasMapping

setRefAlias

public void setRefAlias(String refAlias)
Specified by:
setRefAlias in interface HasRefAliasMapping

getRefClassMapping

public ClassMapping getRefClassMapping()
Specified by:
getRefClassMapping in interface HasRefAliasMapping

setRefClassMapping

public void setRefClassMapping(ClassMapping refClassMapping)
Specified by:
setRefClassMapping in interface HasRefAliasMapping

getRefClass

public Class getRefClass()
Specified by:
getRefClass in interface HasRefAliasMapping

setRefClass

public void setRefClass(Class refClass)
Specified by:
setRefClass in interface HasRefAliasMapping


Copyright (c) 2004-2006 The Compass Project.