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

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.Parameter
All Implemented Interfaces:
com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, java.io.Serializable

@UniqueConstraints(constraints=@UniqueConstraint(fields={@UniqueConstraintField(name="name"),@UniqueConstraintField(name="protocol")}))
public class Parameter
extends AbstractCaArrayEntity

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
Parameter()
          Deprecated. for hibernate and castor only
Parameter(java.lang.String name, Protocol protocol)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          The default comparison uses the id.
 AbstractParameterValue getDefaultValue()
          Gets the defaultValue.
 java.lang.String getName()
          Gets the name.
 Protocol getProtocol()
           
 int hashCode()
          Default hashCode goes off of id.
 void setDefaultValue(AbstractParameterValue defaultValueVal)
          Sets the defaultValue.
 void setName(java.lang.String nameVal)
          Sets the name.
 void setProtocol(Protocol protocol)
           
 java.lang.String toString()
          
 
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
getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, setCaBigId, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 Protocol protocol)
Parameters:
name - the name
protocol - the protocol this paramater is attached to

Parameter

@Deprecated
public Parameter()
Deprecated. for hibernate and castor only

Default constructor.

Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String nameVal)
Sets the name.

Parameters:
nameVal - the name

getDefaultValue

public AbstractParameterValue getDefaultValue()
Gets the defaultValue.

Returns:
the defaultValue

setDefaultValue

public void setDefaultValue(AbstractParameterValue defaultValueVal)
Sets the defaultValue.

Parameters:
defaultValueVal - the defaultValue

getProtocol

@NotNull
public Protocol getProtocol()
Returns:
the protocol

setProtocol

public void setProtocol(Protocol protocol)
Parameters:
protocol - the protocol to set

toString

public java.lang.String toString()

Overrides:
toString in class AbstractCaArrayObject

equals

public boolean equals(java.lang.Object o)
The default comparison uses the id.

Overrides:
equals in class AbstractCaArrayObject
Parameters:
o - other object
Returns:
equal or not

hashCode

public int hashCode()
Default hashCode goes off of id.

Overrides:
hashCode in class AbstractCaArrayObject
Returns:
hashCode