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, ClassIdPropertyMapping, ClassPropertyAnalyzerController, ClassPropertyMapping, ClassPropertyMetaDataMapping, CollectionMapping, ComponentMapping, IdComponentMapping, ParentMapping, PlainCascadeMapping, ReferenceMapping
public interface InternalObjectMapping
- extends ObjectMapping, InternalOsemMapping
- Author:
- kimchy
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-2008 The Compass Project.