Class MappingLoaderNature
- java.lang.Object
-
- org.castor.core.nature.BaseNature
-
- org.castor.cpa.util.classresolution.nature.MappingLoaderNature
-
- All Implemented Interfaces:
Nature
public final class MappingLoaderNature extends BaseNature
MappingLoaderNatureprovides aMappingLoader.- Since:
- 1.2.1
- Author:
- Lukas Lang
-
-
Constructor Summary
Constructors Constructor Description MappingLoaderNature(PropertyHolder holder)Constructor taking aPropertyHolder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Returns the Nature Id.MappingLoadergetMappingLoader()Returns theMappingLoader.voidsetMappingLoader(MappingLoader mappingLoader)Sets theMappingLoader.-
Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
-
-
-
Constructor Detail
-
MappingLoaderNature
public MappingLoaderNature(PropertyHolder holder)
Constructor taking aPropertyHolder.- Parameters:
holder- ThePropertyHolderto use.
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Nature Id.- Returns:
- Fully qualified
Classname. - See Also:
Nature.getId()
-
setMappingLoader
public void setMappingLoader(MappingLoader mappingLoader)
Sets theMappingLoader.- Parameters:
mappingLoader- TheMappingLoaderto set.
-
getMappingLoader
public MappingLoader getMappingLoader()
Returns theMappingLoader.- Returns:
- A
MappingLoaderor null if not set.
-
-