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
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-2008 The Compass Project.