fr.ifremer.isisfish.types
Class RangeOfValues
java.lang.Object
fr.ifremer.isisfish.types.RangeOfValues
- All Implemented Interfaces:
- Serializable, Cloneable
public class RangeOfValues
- extends Object
- implements Cloneable, Serializable
- Author:
- poussin
- See Also:
- Serialized Form
TYPES
public static final String[] TYPES
type
protected String type
continueRange
protected boolean continueRange
values
protected String values
possibleValues
protected List possibleValues
RangeOfValues
public RangeOfValues(String typeValue)
RangeOfValues
public RangeOfValues(String type,
String value)
getPossibleTypes
public static String[] getPossibleTypes()
getType
public String getType()
- Returns:
- Returns the type.
setType
protected void setType(String type)
- Parameters:
type - The type to set.
getValues
public String getValues()
- Returns:
- Returns the values.
setValues
protected void setValues(String values)
- Parameters:
values - The values to set.
isContinueRange
public boolean isContinueRange()
setTypeValues
protected void setTypeValues(String typeValues)
- Change type and values. String must be something like
Integer[1;3;4]
- Parameters:
typeValues -
contains
public boolean contains(String val)
contains
public boolean contains(int val)
contains
public boolean contains(float val)
getPossibleValues
public List getPossibleValues()
getAsString
public String getAsString()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 1999-2010 CodeLutin. All Rights Reserved.