info.magnolia.module.model
Class DependencyDefinition

java.lang.Object
  extended by info.magnolia.module.model.DependencyDefinition

public class DependencyDefinition
extends java.lang.Object

Models a dependency between modules.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Constructor Summary
DependencyDefinition()
           
DependencyDefinition(java.lang.String name, java.lang.String version, boolean optional)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getVersion()
           
 VersionRange getVersionRange()
           
 boolean isOptional()
           
 void setName(java.lang.String name)
           
 void setOptional(boolean optional)
           
 void setVersion(java.lang.String version)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyDefinition

public DependencyDefinition()

DependencyDefinition

public DependencyDefinition(java.lang.String name,
                            java.lang.String version,
                            boolean optional)
Method Detail

getVersionRange

public VersionRange getVersionRange()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean optional)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.