org.compass.core.mapping.osem.internal
Interface InternalObjectMapping

All Superinterfaces:
InternalMapping, InternalOsemMapping, Mapping, ObjectMapping, OsemMapping
All Known Subinterfaces:
InternalRefAliasObjectMapping
All Known Implementing Classes:
AbstractAccessorMapping, AbstractAccessorMultipleMapping, AbstractCollectionMapping, AbstractRefAliasMapping, ArrayMapping, ClassBoostPropertyMapping, ClassDynamicPropertyMapping, ClassIdPropertyMapping, ClassPropertyAnalyzerController, ClassPropertyMapping, ClassPropertyMetaDataMapping, CollectionMapping, ComponentMapping, IdComponentMapping, ParentMapping, PlainCascadeMapping, ReferenceMapping

public interface InternalObjectMapping
extends ObjectMapping, InternalOsemMapping

Author:
kimchy

Method Summary
 void setAccessor(String accessor)
          Sets the accessor type for this mapping.
 void setDefinedInAlias(String alias)
          Sets which alias (or if not present, the FQN of the class name) this object property is defined at.
 void setGetter(Getter getter)
          Sests the getter for the property.
 void setPropertyName(String propertyName)
          Sets the class property name of the object mapping.
 void setSetter(Setter setter)
          Sets the setter for the property.
 
Methods inherited from interface org.compass.core.mapping.osem.ObjectMapping
canBeCollectionWrapped, getAccessor, getDefinedInAlias, getGetter, getPropertyName, getSetter
 
Methods inherited from interface org.compass.core.mapping.osem.OsemMapping
hasAccessors
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.osem.OsemMapping
hasAccessors
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, copy, 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, copy, getConverter, getConverterName, getName, getPath
 

Method Detail

setAccessor

void setAccessor(String accessor)
Sets the accessor type for this mapping. The accessor type can be field, property or a custom implementation of PropertyAccessor (this can be either the FQN of the class name or a regsitered type in the configuration, see PropertyAccessorFactory.


setPropertyName

void setPropertyName(String propertyName)
Sets the class property name of the object mapping.


setDefinedInAlias

void setDefinedInAlias(String alias)
Sets which alias (or if not present, the FQN of the class name) this object property is defined at.


setGetter

void setGetter(Getter getter)
Sests the getter for the property.


setSetter

void setSetter(Setter setter)
Sets the setter for the property.



Copyright (c) 2004-2009 The Compass Project.