org.compass.core.mapping.osem
Interface RefAliasObjectMapping

All Superinterfaces:
Mapping, ObjectMapping, OsemMapping
All Known Subinterfaces:
InternalRefAliasObjectMapping
All Known Implementing Classes:
AbstractRefAliasMapping, ComponentMapping, IdComponentMapping, ReferenceMapping

public interface RefAliasObjectMapping
extends ObjectMapping

A mapping that references other mappings.

Author:
kimchy

Method Summary
 String[] getRefAliases()
           
 Class getRefClass()
          Returns the reference class which will be used if no ref aliases are explicitly defined using getRefAliases() to identify the alias.
 ClassMapping getRefClassMapping(String alias)
           
 ClassMapping[] getRefClassMappings()
           
 boolean hasAtLeastOneRefAlias(String[] refAliases)
           
 boolean hasRefAlias(String refAlias)
           
 
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
 

Method Detail

hasRefAlias

boolean hasRefAlias(String refAlias)

hasAtLeastOneRefAlias

boolean hasAtLeastOneRefAlias(String[] refAliases)

getRefClassMapping

ClassMapping getRefClassMapping(String alias)

getRefAliases

String[] getRefAliases()

getRefClassMappings

ClassMapping[] getRefClassMappings()

getRefClass

Class getRefClass()
Returns the reference class which will be used if no ref aliases are explicitly defined using getRefAliases() to identify the alias.



Copyright (c) 2004-2009 The Compass Project.