gov.nih.nci.caarray.domain.protocol
Class ProtocolApplication

java.lang.Object
  extended by gov.nih.nci.caarray.domain.AbstractCaArrayObject
      extended by gov.nih.nci.caarray.domain.AbstractCaArrayEntity
          extended by gov.nih.nci.caarray.domain.protocol.ProtocolApplication
All Implemented Interfaces:
com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, java.io.Serializable

public class ProtocolApplication
extends AbstractCaArrayEntity

Application of a protocol to an entity, such as a bio material or hybridization.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity
CAARRAY_LSID_AUTHORITY, CAARRAY_LSID_NAMESPACE
 
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH
 
Constructor Summary
ProtocolApplication()
          Default constructor.
ProtocolApplication(ProtocolApplication other)
          Constructs a new ProtocolApplication based on another.
 
Method Summary
 java.lang.String getNotes()
           
 Protocol getProtocol()
          Gets the protocol.
 AbstractParameterValue getValue(java.lang.String parameterName)
          Return the parameter value for the parameter with given name in this protocol application.
 java.util.Set<AbstractParameterValue> getValues()
          Gets the values.
 void setNotes(java.lang.String notes)
           
 void setProtocol(Protocol protocolVal)
          Sets the protocol.
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity
getLsid, getLsidAuthority, getLsidNamespace, getLsidObjectId, setLsid, setLsid, setLsidForEntity
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
equals, getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, hashCode, setCaBigId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolApplication

public ProtocolApplication()
Default constructor.


ProtocolApplication

public ProtocolApplication(ProtocolApplication other)
Constructs a new ProtocolApplication based on another.

Parameters:
other - other ProtocolApplication to make a copy of
Method Detail

getProtocol

public Protocol getProtocol()
Gets the protocol.

Returns:
the protocol

setProtocol

public void setProtocol(Protocol protocolVal)
Sets the protocol.

Parameters:
protocolVal - the protocol

getValues

public java.util.Set<AbstractParameterValue> getValues()
Gets the values.

Returns:
the values

getValue

public AbstractParameterValue getValue(java.lang.String parameterName)
Return the parameter value for the parameter with given name in this protocol application. If there is none, return null.

Parameters:
parameterName - name of parameter for which to find a value.
Returns:
the parameter value for parameter with given name or null if there is none.

getNotes

public java.lang.String getNotes()
Returns:
the notes

setNotes

public void setNotes(java.lang.String notes)
Parameters:
notes - the notes to set