org.castor.cpa.util.classresolution.nature
Class PackageBasedCDRResolutionNature

java.lang.Object
  extended by org.castor.core.nature.BaseNature
      extended by org.castor.cpa.util.classresolution.nature.PackageBasedCDRResolutionNature
All Implemented Interfaces:
Nature

public class PackageBasedCDRResolutionNature
extends BaseNature

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

Since:
1.2.1
Version:
$Revision: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
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<java.lang.String> getPackageNames()
          Get the String List of package names that the current ClassDescriptorResolutionCommand should search for ClassDescriptors in.
 void setPackageNames(java.util.List<java.lang.String> 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<java.lang.String> 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<java.lang.String> getPackageNames()
Get the String List of package names that the current ClassDescriptorResolutionCommand should search for ClassDescriptors in.

Returns:
a String List of package names.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com