public class Protocol extends java.lang.Object implements PrideObject, java.io.Serializable
Constructor and Description |
---|
Protocol(java.lang.String name,
java.util.ArrayList<CvTerm> cvTerms)
Create a new Protocol object.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CvTerm> |
getCvTerms()
Returns the CV terms.
|
static java.util.ArrayList<Protocol> |
getDefaultProtocols()
Returns a list of default protocols.
|
java.lang.String |
getFileName()
Returns the name to use when serializing the object.
|
java.lang.String |
getName()
Returns the protocol name.
|
void |
setCvTerms(java.util.ArrayList<CvTerm> cvTerms)
Set the CV terms.
|
void |
setName(java.lang.String name)
Set the protocol name.
|
public Protocol(java.lang.String name, java.util.ArrayList<CvTerm> cvTerms)
name
- cvTerms
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.util.ArrayList<CvTerm> getCvTerms()
public void setCvTerms(java.util.ArrayList<CvTerm> cvTerms)
cvTerms
- the cvTerms to setpublic static java.util.ArrayList<Protocol> getDefaultProtocols()
public java.lang.String getFileName()
PrideObject
getFileName
in interface PrideObject
Copyright © 2013. All Rights Reserved.