Class MappingLoaderNature
java.lang.Object
org.castor.core.nature.BaseNature
org.castor.cpa.util.classresolution.nature.MappingLoaderNature
- All Implemented Interfaces:
Nature
MappingLoaderNature
provides a MappingLoader
.- Since:
- 1.2.1
- Author:
- Lukas Lang
-
Constructor Summary
ConstructorsConstructorDescriptionMappingLoaderNature
(PropertyHolder holder) Constructor taking aPropertyHolder
. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the Nature Id.Returns theMappingLoader
.void
setMappingLoader
(MappingLoader mappingLoader) Sets theMappingLoader
.Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
Constructor Details
-
MappingLoaderNature
Constructor taking aPropertyHolder
.- Parameters:
holder
- ThePropertyHolder
to use.
-
-
Method Details
-
getId
Returns the Nature Id.- Returns:
- Fully qualified
Class
name. - See Also:
-
setMappingLoader
Sets theMappingLoader
.- Parameters:
mappingLoader
- TheMappingLoader
to set.
-
getMappingLoader
Returns theMappingLoader
.- Returns:
- A
MappingLoader
or null if not set.
-