org.codehaus.mojo.hibernate3.exporter
Class Component

java.lang.Object
  extended by org.codehaus.mojo.hibernate3.exporter.Component
All Implemented Interfaces:
java.io.Serializable

public final class Component
extends java.lang.Object
implements java.io.Serializable

Bean in charge to hold the default values needed to run a goal.

Version:
$Id: Component.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Johann Reyes, Tim O'Brien
See Also:
Serialized Form

Constructor Summary
Component()
           
 
Method Summary
 java.lang.String getImplementation()
          Returns the alias of the Configuration class that this goal uses.
 java.lang.String getName()
          Returns this goal's name.
 java.lang.String getOutputDirectory()
          Returns the output directory for this goal.
 boolean isCompileSourceRoot()
          Returns whether the output directory is a compile source root.
 void setCompileSourceRoot(boolean isCompileSourceRoot)
          Sets whether the output directory is a compile source root.
 void setImplementation(java.lang.String implementation)
          Sets the alias of the Configuration class that this goal uses.
 void setName(java.lang.String name)
          Sets this goal's name.
 void setOutputDirectory(java.lang.String outputDirectory)
          Sets the output directory for this goal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component()
Method Detail

getImplementation

public java.lang.String getImplementation()
Returns the alias of the Configuration class that this goal uses.

Returns:
String

setImplementation

public void setImplementation(java.lang.String implementation)
Sets the alias of the Configuration class that this goal uses.

Parameters:
implementation - String

getName

public java.lang.String getName()
Returns this goal's name.

Returns:
String

setName

public void setName(java.lang.String name)
Sets this goal's name.

Parameters:
name - String

getOutputDirectory

public java.lang.String getOutputDirectory()
Returns the output directory for this goal.

Returns:
String

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)
Sets the output directory for this goal.

Parameters:
outputDirectory - String

isCompileSourceRoot

public boolean isCompileSourceRoot()
Returns whether the output directory is a compile source root.

Returns:
boolean

setCompileSourceRoot

public void setCompileSourceRoot(boolean isCompileSourceRoot)
Sets whether the output directory is a compile source root.

Parameters:
isCompileSourceRoot - boolean


Copyright © 2005-2010. All Rights Reserved.