Class PackageBasedCDRResolutionNature

java.lang.Object
org.castor.core.nature.BaseNature
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
invalid reference
ClassDescriptorResolutionCommand
s.
Since:
1.2.1
Author:
Sebastian Gabmeyer
  • Constructor Details

    • PackageBasedCDRResolutionNature

      public PackageBasedCDRResolutionNature(PropertyHolder holder)
      The constructor takes a PropertyHolder.
      Parameters:
      holder - the container to place/read the properties in/from.
  • Method Details

    • getId

      public String getId()
      Returns the fully qualified name of the Nature.
      Returns:
      qualified name of the nature.
    • addPackageName

      public void addPackageName(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(List<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 List<String> getPackageNames()
      Get the String List of package names that the current
      invalid reference
      ClassDescriptorResolutionCommand
      should search for ClassDescriptors in.
      Returns:
      a String List of package names.