|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.pipeline.AlgorithmInformation
public class AlgorithmInformation
Information that describes the algorithm, including its authors, citations, and version information.
Nested Class Summary | |
---|---|
static class |
AlgorithmInformation.AlgorithmAuthor
The Class AlgorithmAuthor. |
static class |
AlgorithmInformation.Citation
The Class Citation. |
Field Summary | |
---|---|
protected java.lang.String |
affiliation
The institute affiliation. |
protected java.lang.String |
algorithmClass
The algorithm class. |
protected java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> |
authors
Algorithm authors. |
protected java.util.LinkedList<AlgorithmInformation.Citation> |
citations
The citations. |
protected java.util.Date |
creationDate
The creation date. |
protected java.lang.String |
description
The description. |
protected DevelopmentStatus |
devStatus
The Category. |
protected boolean |
editable
Editable. |
protected java.lang.String |
label
name and label for parameter. |
protected java.lang.String |
longdescription
The long description. |
protected java.lang.String |
name
name and label for parameter. |
protected java.lang.String |
version
The version. |
protected java.lang.String |
website
The website. |
Constructor Summary | |
---|---|
AlgorithmInformation(ProcessingAlgorithm algo)
Instantiates a new algorithm information. |
|
AlgorithmInformation(java.lang.String name,
java.lang.String label,
java.lang.String c)
Instantiates a new algorithm information. |
Method Summary | |
---|---|
void |
add(AlgorithmInformation.AlgorithmAuthor author)
Adds the. |
void |
add(AlgorithmInformation.Citation cite)
Adds the. |
AlgorithmInformation |
clone()
Clone information. |
int |
compareTo(AlgorithmInformation o)
Unimplemented. |
boolean |
equals(AlgorithmInformation info)
Equals. |
java.lang.String |
getAffiliation()
Gets the affiliation. |
java.lang.Class |
getAlgorithmClass()
Gets the algorithm class. |
java.lang.String |
getAlgorithmClassName()
Gets the algorithm class name. |
java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> |
getAuthors()
Gets the authors. |
java.util.LinkedList<AlgorithmInformation.Citation> |
getCitations()
Gets the citations. |
java.util.Date |
getCreationDate()
Gets the creation date. |
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getLabel()
Gets the label. |
java.lang.String |
getLongDescription()
Gets the Long description. |
java.lang.String |
getName()
Gets the name. |
DevelopmentStatus |
getStatus()
Gets the status. |
java.lang.String |
getStatusString()
Gets the status string. |
java.lang.String |
getVersion()
Gets the version. |
java.lang.String |
getWebsite()
Gets the website. |
void |
init(ProcessingAlgorithm algo)
Initialize the information from the algorithm. |
boolean |
isEditable()
Returns true if editable. |
void |
setAffiliation(java.lang.String affiliation)
Sets the affiliation. |
void |
setAlgorithmClass(java.lang.Class algoClass)
Sets the algorithm class. |
void |
setAuthors(java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> authors)
Sets the authors. |
void |
setCitations(java.util.LinkedList<AlgorithmInformation.Citation> citations)
Sets the citations. |
void |
setCreationDate(java.util.Date creationDate)
Sets the creation date. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEditable(boolean editable)
Set whether information can be edited. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setLongDescription(java.lang.String longdescription)
Sets the long description. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setStatus(DevelopmentStatus status)
Sets the status. |
void |
setVersion(java.lang.String version)
Sets the version. |
void |
setWebsite(java.lang.String website)
Sets the website. |
java.lang.String |
toString()
Serialize information as string. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected DevelopmentStatus devStatus
protected java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> authors
protected java.util.LinkedList<AlgorithmInformation.Citation> citations
protected java.util.Date creationDate
protected java.lang.String version
protected java.lang.String description
protected java.lang.String longdescription
protected java.lang.String website
protected java.lang.String affiliation
protected java.lang.String name
protected java.lang.String label
protected java.lang.String algorithmClass
protected boolean editable
Constructor Detail |
---|
public AlgorithmInformation(ProcessingAlgorithm algo)
algo
- the algorithmpublic AlgorithmInformation(java.lang.String name, java.lang.String label, java.lang.String c)
name
- the namelabel
- the labelc
- the classMethod Detail |
---|
public void setEditable(boolean editable)
editable
- the editablepublic boolean isEditable()
public DevelopmentStatus getStatus()
public void setStatus(DevelopmentStatus status)
status
- the new statuspublic void add(AlgorithmInformation.AlgorithmAuthor author)
author
- the authorpublic void add(AlgorithmInformation.Citation cite)
cite
- the citationpublic AlgorithmInformation clone()
clone
in class java.lang.Object
public int compareTo(AlgorithmInformation o)
compareTo
in interface java.lang.Comparable<AlgorithmInformation>
o
- the o
public java.lang.String getAffiliation()
public java.lang.Class getAlgorithmClass()
public java.lang.String getAlgorithmClassName()
public java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> getAuthors()
public java.util.LinkedList<AlgorithmInformation.Citation> getCitations()
public java.util.Date getCreationDate()
public java.lang.String getDescription()
public java.lang.String getLongDescription()
public java.lang.String getLabel()
public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getWebsite()
public void init(ProcessingAlgorithm algo)
algo
- the algorithmpublic void setAffiliation(java.lang.String affiliation)
affiliation
- the new affiliationpublic void setAlgorithmClass(java.lang.Class algoClass)
algoClass
- the new algorithm classpublic void setAuthors(java.util.LinkedList<AlgorithmInformation.AlgorithmAuthor> authors)
authors
- the new authorspublic void setCitations(java.util.LinkedList<AlgorithmInformation.Citation> citations)
citations
- the new citationspublic void setCreationDate(java.util.Date creationDate)
creationDate
- the new creation datepublic void setDescription(java.lang.String description)
description
- the new descriptionpublic void setLongDescription(java.lang.String longdescription)
longdescription
- the longdescriptionpublic void setLabel(java.lang.String label)
label
- the new labelpublic void setName(java.lang.String name)
name
- the new namepublic void setVersion(java.lang.String version)
version
- the new versionpublic void setWebsite(java.lang.String website)
website
- the new websitepublic java.lang.String getStatusString()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(AlgorithmInformation info)
info
- the info
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |