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$ Last update: $Date$ by : $Author$
Author:
poussin
See Also:
  • Field Details

  • Constructor Details

    • RangeOfValues

      public RangeOfValues(String typeValue)
    • RangeOfValues

      public RangeOfValues(String type, String value)
  • Method Details

    • 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<Object> getPossibleValues()
    • getAsString

      public String getAsString()
    • toString

      public String toString()
      Overrides:
      toString in class Object