org.compass.core.mapping.osem
Class IdComponentMapping

java.lang.Object
  extended by org.compass.core.mapping.support.AbstractMapping
      extended by org.compass.core.mapping.osem.AbstractAccessorMapping
          extended by org.compass.core.mapping.osem.AbstractRefAliasMapping
              extended by org.compass.core.mapping.osem.ComponentMapping
                  extended by org.compass.core.mapping.osem.IdComponentMapping
All Implemented Interfaces:
CascadeMapping, InternalCascadeMapping, InternalMapping, InternalOverrideByNameMapping, Mapping, InternalObjectMapping, InternalOsemMapping, InternalRefAliasObjectMapping, ObjectMapping, OsemMapping, RefAliasObjectMapping, OverrideByNameMapping, ResourceIdMappingProvider

public class IdComponentMapping
extends ComponentMapping
implements ResourceIdMappingProvider

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.CascadeMapping
CascadeMapping.Cascade
 
Constructor Summary
IdComponentMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 Mapping[] getIdMappings()
           
 ResourcePropertyMapping[] getResourceIdMappings()
           
 
Methods inherited from class org.compass.core.mapping.osem.ComponentMapping
canBeCollectionWrapped, copy, getMaxDepth, getPrefix, isOverrideByName, setMaxDepth, setOverrideByName, setPrefix
 
Methods inherited from class org.compass.core.mapping.osem.AbstractRefAliasMapping
copy, getCascades, getCascadeValue, getRefAliases, getRefClass, getRefClassMapping, getRefClassMappings, hasAtLeastOneRefAlias, hasRefAlias, setCascades, setRefAliases, setRefClass, setRefClassMappings, shouldCascade, shouldCascadeCreate, shouldCascadeDelete, shouldCascadeSave
 
Methods inherited from class org.compass.core.mapping.osem.AbstractAccessorMapping
copy, getAccessor, getDefinedInAlias, getGetter, getPropertyName, getSetter, hasAccessors, setAccessor, setDefinedInAlias, setGetter, setPropertyName, setSetter
 
Methods inherited from class org.compass.core.mapping.support.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.internal.InternalMapping
setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.osem.RefAliasObjectMapping
getRefAliases, getRefClass, getRefClassMapping, getRefClassMappings, hasAtLeastOneRefAlias, hasRefAlias
 
Methods inherited from interface org.compass.core.mapping.osem.ObjectMapping
getAccessor, getDefinedInAlias, getGetter, getPropertyName, getSetter
 
Methods inherited from interface org.compass.core.mapping.osem.OsemMapping
hasAccessors
 
Methods inherited from interface org.compass.core.mapping.osem.internal.InternalObjectMapping
setAccessor, setDefinedInAlias, setGetter, setPropertyName, setSetter
 

Constructor Detail

IdComponentMapping

public IdComponentMapping()
Method Detail

copy

public Mapping copy()
Description copied from interface: Mapping
Copies over the mapping definition into a newly instanciated Mapping object.

Specified by:
copy in interface Mapping
Overrides:
copy in class ComponentMapping

getIdMappings

public Mapping[] getIdMappings()
Specified by:
getIdMappings in interface ResourceIdMappingProvider

getResourceIdMappings

public ResourcePropertyMapping[] getResourceIdMappings()
Specified by:
getResourceIdMappings in interface ResourceIdMappingProvider


Copyright (c) 2004-2008 The Compass Project.