org.compass.core.mapping.internal
Interface InternalCompassMapping

All Superinterfaces:
CompassMapping
All Known Implementing Classes:
DefaultCompassMapping

public interface InternalCompassMapping
extends CompassMapping

An internal CompassMapping allowing to perform "destructive" operations. Should not be used by users. Please use CompassConfiguration.

Author:
kimchy

Method Summary
 void addMapping(AliasMapping mapping)
           
 void clearMappings()
           
 InternalCompassMapping copy(ConverterLookup converterLookup)
           
 void postProcess()
           
 boolean removeMappingByAlias(String alias)
           
 boolean removeMappingByClass(String className)
           
 void setPath(PropertyPath path)
           
 
Methods inherited from interface org.compass.core.mapping.CompassMapping
findNonRootMappingByClass, findRootMappingByClass, getAliasMapping, getAllDirectMappingByClass, getConverterLookup, getDirectMappingByClass, getMappingByAlias, getMappingByClass, getMappings, getNonRootMappingByAlias, getNonRootMappingByClass, getPath, getResourcePropertyLookup, getResourcePropertyMappingByPath, getResourcePropertyMappingsByPath, getRootMappingByAlias, getRootMappingByClass, getRootMappings, hasMappingForAlias, hasMappingForClass, hasMultipleRootClassMapping, hasRootClassMapping, hasRootMappingByAlias, hasRootRawResourceMapping
 

Method Detail

addMapping

void addMapping(AliasMapping mapping)
                throws MappingException
Throws:
MappingException

removeMappingByClass

boolean removeMappingByClass(String className)

removeMappingByAlias

boolean removeMappingByAlias(String alias)
                             throws MappingException
Throws:
MappingException

clearMappings

void clearMappings()

postProcess

void postProcess()

copy

InternalCompassMapping copy(ConverterLookup converterLookup)

setPath

void setPath(PropertyPath path)


Copyright (c) 2004-2009 The Compass Project.