Package psidev.psi.mi.jami.model.impl
Class DefaultVariableParameterValue
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultVariableParameterValue
-
- All Implemented Interfaces:
VariableParameterValue
public class DefaultVariableParameterValue extends Object implements VariableParameterValue
Default implementation for variableValue. Notes: The equals and hashcode methods have been overridden to be consistent with VariableParameterValueComparator- Since:
22/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultVariableParameterValue(String value, VariableParameter variableParameter)
Constructor for DefaultVariableParameterValue.DefaultVariableParameterValue(String value, VariableParameter variableParameter, Integer order)
Constructor for DefaultVariableParameterValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getOrder()
Getter for the fieldorder
.String
getValue()
Getter for the fieldvalue
.VariableParameter
getVariableParameter()
Getter for the fieldvariableParameter
.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DefaultVariableParameterValue
public DefaultVariableParameterValue(String value, VariableParameter variableParameter)
Constructor for DefaultVariableParameterValue.
- Parameters:
value
- aString
object.variableParameter
- aVariableParameter
object.
-
DefaultVariableParameterValue
public DefaultVariableParameterValue(String value, VariableParameter variableParameter, Integer order)
Constructor for DefaultVariableParameterValue.
- Parameters:
value
- aString
object.variableParameter
- aVariableParameter
object.order
- aInteger
object.
-
-
Method Detail
-
getValue
public String getValue()
Getter for the field
value
.- Specified by:
getValue
in interfaceVariableParameterValue
- Returns:
- a
String
object.
-
getOrder
public Integer getOrder()
Getter for the field
order
.- Specified by:
getOrder
in interfaceVariableParameterValue
- Returns:
- a
Integer
object.
-
getVariableParameter
public VariableParameter getVariableParameter()
Getter for the field
variableParameter
.- Specified by:
getVariableParameter
in interfaceVariableParameterValue
- Returns:
- a
VariableParameter
object.
-
-