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 booleanequals(Object o)IntegergetOrder()Getter for the fieldorder.StringgetValue()Getter for the fieldvalue.VariableParametergetVariableParameter()Getter for the fieldvariableParameter.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DefaultVariableParameterValue
public DefaultVariableParameterValue(String value, VariableParameter variableParameter)
Constructor for DefaultVariableParameterValue.
- Parameters:
value- aStringobject.variableParameter- aVariableParameterobject.
-
DefaultVariableParameterValue
public DefaultVariableParameterValue(String value, VariableParameter variableParameter, Integer order)
Constructor for DefaultVariableParameterValue.
- Parameters:
value- aStringobject.variableParameter- aVariableParameterobject.order- aIntegerobject.
-
-
Method Detail
-
getValue
public String getValue()
Getter for the field
value.- Specified by:
getValuein interfaceVariableParameterValue- Returns:
- a
Stringobject.
-
getOrder
public Integer getOrder()
Getter for the field
order.- Specified by:
getOrderin interfaceVariableParameterValue- Returns:
- a
Integerobject.
-
getVariableParameter
public VariableParameter getVariableParameter()
Getter for the field
variableParameter.- Specified by:
getVariableParameterin interfaceVariableParameterValue- Returns:
- a
VariableParameterobject.
-
-