org.exolab.castor.xml.util
Class PackageBasedCDRResolutionNature

java.lang.Object
  extended by org.castor.core.nature.BaseNature
      extended by org.exolab.castor.xml.util.PackageBasedCDRResolutionNature

public class PackageBasedCDRResolutionNature
extends BaseNature

This class provides a view on a additional properties for ClassDescriptorResolutionCommands.

Since:
1.2.1
Author:
Sebastian Gabmeyer

Constructor Summary
PackageBasedCDRResolutionNature(PropertyHolder holder)
          The constructor takes a PropertyHolder.
 
Method Summary
 void addPackageName(java.lang.String packageName)
          Adds a package to the string List of package names.
 java.lang.String getId()
          
 java.util.List getPackageNames()
          Get the String List of package names that the current ClassDescriptorResolutionCommand should search for ClassDescriptors in.
 void setPackageNames(java.util.List packageNames)
          Set a String List of package names that should be searched for ClassDescriptors.
 
Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageBasedCDRResolutionNature

public PackageBasedCDRResolutionNature(PropertyHolder holder)
The constructor takes a PropertyHolder.

Parameters:
holder - the container to place/read the properties in/from.
Method Detail

getId

public java.lang.String getId()


addPackageName

public void addPackageName(java.lang.String packageName)
Adds a package to the string List of package names.

Parameters:
packageName - the name of the package to add.

setPackageNames

public void setPackageNames(java.util.List packageNames)
Set a String List of package names that should be searched for ClassDescriptors.

Parameters:
packageNames - the String List of package names to set.

getPackageNames

public java.util.List getPackageNames()
Get the String List of package names that the current ClassDescriptorResolutionCommand should search for ClassDescriptors in.

Returns:
a String List of package names.


Copyright © 2011. All Rights Reserved.