org.apache.maven.model
Class ModelBase

java.lang.Object
  extended by org.apache.maven.model.ModelBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Model

public class ModelBase
extends java.lang.Object
implements java.io.Serializable

null

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

Constructor Summary
ModelBase()
           
 
Method Summary
 void addDependency(Dependency dependency)
          Method addDependency
 java.util.List getDependencies()
          Method getDependencies
 java.lang.String getModelEncoding()
           
 void removeDependency(Dependency dependency)
          Method removeDependency
 void setDependencies(java.util.List dependencies)
          Set This element describes all of the dependencies associated with a project.
 void setModelEncoding(java.lang.String modelEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelBase

public ModelBase()
Method Detail

addDependency

public void addDependency(Dependency dependency)
Method addDependency

Parameters:
dependency -

getDependencies

public java.util.List getDependencies()
Method getDependencies


removeDependency

public void removeDependency(Dependency dependency)
Method removeDependency

Parameters:
dependency -

setDependencies

public void setDependencies(java.util.List dependencies)
Set This element describes all of the dependencies associated with a project. These dependencies are used to construct a classpath for your project during the build process. They are automatically downloaded from the repositories defined in this project. See the dependency mechanism for more information.

Parameters:
dependencies -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.