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
MappingLoaderNature
provides 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.String
getId()
Returns the Nature Id.MappingLoader
getMappingLoader()
Returns theMappingLoader
.void
setMappingLoader(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
- ThePropertyHolder
to use.
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Nature Id.- Returns:
- Fully qualified
Class
name. - See Also:
Nature.getId()
-
setMappingLoader
public void setMappingLoader(MappingLoader mappingLoader)
Sets theMappingLoader
.- Parameters:
mappingLoader
- TheMappingLoader
to set.
-
getMappingLoader
public MappingLoader getMappingLoader()
Returns theMappingLoader
.- Returns:
- A
MappingLoader
or null if not set.
-
-