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
RangeOfValues.java
Created: 7 mars 2006 17:16:20
- Version:
- $Revision: 3393 $
Last update: $Date: 2011-06-14 19:43:37 +0200 (Tue, 14 Jun 2011) $
by : $Author: chatellier $
- Author:
- poussin
- See Also:
- Serialized Form
TYPE_STRING
public static final String TYPE_STRING
- See Also:
- Constant Field Values
TYPE_INTEGER
public static final String TYPE_INTEGER
- See Also:
- Constant Field Values
TYPE_FLOAT
public static final String TYPE_FLOAT
- See Also:
- Constant Field Values
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-2012 CodeLutin. All Rights Reserved.