org.apache.maven.archetype.metadata
Class RequiredProperty

java.lang.Object
  extended by org.apache.maven.archetype.metadata.RequiredProperty
All Implemented Interfaces:
Serializable

public class RequiredProperty
extends Object
implements Serializable

Definition of a property required when generating a project from this archetype.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
RequiredProperty()
           
 
Method Summary
 String getDefaultValue()
          Get default value of the property.
 String getKey()
          Get key value of the property.
 void setDefaultValue(String defaultValue)
          Set default value of the property.
 void setKey(String key)
          Set key value of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredProperty

public RequiredProperty()
Method Detail

getDefaultValue

public String getDefaultValue()
Get default value of the property.

Returns:
String

getKey

public String getKey()
Get key value of the property.

Returns:
String

setDefaultValue

public void setDefaultValue(String defaultValue)
Set default value of the property.

Parameters:
defaultValue -

setKey

public void setKey(String key)
Set key value of the property.

Parameters:
key -


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.