|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.jjar.repository.Product
public class Product
Field Summary | |
---|---|
static Comparator |
PRODUCT_COMPARATOR
A comparator that can be used to compare versions |
Constructor Summary | |
---|---|
Product()
Creates a new instance of Product |
Method Summary | |
---|---|
void |
addAlias(Version alias)
|
void |
addDependency(Dependency d)
|
Version |
getAlias(String version)
Getter for property link. |
Collection |
getAliases()
Getter for property link. |
String |
getAliasesAsString()
Getter for property link. |
Collection |
getDependencies()
Getter for property dependencies. |
Dependency[] |
getDependenciesAsArray()
|
String |
getDescription()
Getter for property description. |
String |
getDirectory()
Getter for property projectName. |
String |
getHref()
Getter for property href. |
String |
getJarName()
Getter for property jarName. |
String |
getName()
Getter for property name. |
String |
getShortDescription()
|
Version |
getVersion()
Getter for property version. |
boolean |
hasAlias()
Check if the product has an alias |
boolean |
hasAlias(Version version)
Check if there is an alias equal to a given version. |
void |
setAliases(ArrayList aliases)
Setter for property alias. |
void |
setDescription(String description)
Setter for property description. |
void |
setDirectory(String directory)
|
void |
setHref(String href)
Setter for property href. |
void |
setJarName(String jarName)
Setter for property jarName. |
void |
setName(String name)
Setter for property name. |
void |
setShortDescription(String shortDescription)
|
void |
setVersion(Version version)
Setter for property version. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Comparator PRODUCT_COMPARATOR
Constructor Detail |
---|
public Product()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- New value of property name.public String getHref()
public void setHref(String href)
href
- New value of property href.public String getDescription()
public void setDescription(String description)
description
- New value of property description.public String getDirectory()
public void setDirectory(String directory)
public String toString()
toString
in class Object
public Version getVersion()
public void setVersion(Version version)
version
- New value of property version.public Collection getDependencies()
public Dependency[] getDependenciesAsArray()
public void addDependency(Dependency d)
public String getAliasesAsString()
public Version getAlias(String version)
public Collection getAliases()
public boolean hasAlias(Version version)
version
- Version to compare with
public boolean hasAlias()
public void setAliases(ArrayList aliases)
aliases
- New value of property link.public void addAlias(Version alias)
public String getJarName()
public void setJarName(String jarName)
jarName
- New value of property jarName.public void setShortDescription(String shortDescription)
public String getShortDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |