fr.ifremer.allegro.referential.pmfm
Class ParameterCode

java.lang.Object
  extended by fr.ifremer.allegro.referential.pmfm.ParameterCode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParameterCodeEnum

public class ParameterCode
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static ParameterCode BULK
           
static ParameterCode CALCULATED_WEIGHT
           
static ParameterCode LANDING_REJECTION
           
static ParameterCode PRESENTATION
           
static ParameterCode PROCEEDING
           
static ParameterCode SEX
           
static ParameterCode SIZE
           
static ParameterCode STATUS
           
static ParameterCode WEIGHT
           
 
Constructor Summary
protected ParameterCode()
          The default constructor allowing super classes to access it.
 
Method Summary
 int compareTo(java.lang.Object that)
           
 boolean equals(java.lang.Object object)
           
static ParameterCode fromString(java.lang.String value)
          Creates an instance of ParameterCode from value.
 java.lang.String getValue()
          Gets the underlying value of this type safe enumeration.
 int hashCode()
           
static java.util.List literals()
          Returns an unmodifiable list containing the literals that are known by this enumeration.
static java.util.List names()
          Returns an unmodifiable list containing the names of the literals that are known by this enumeration.
 java.lang.String toString()
           
static java.util.List values()
          Returns an unmodifiable list containing the actual enumeration instance values.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WEIGHT

public static final ParameterCode WEIGHT

CALCULATED_WEIGHT

public static final ParameterCode CALCULATED_WEIGHT

LANDING_REJECTION

public static final ParameterCode LANDING_REJECTION

BULK

public static final ParameterCode BULK

PRESENTATION

public static final ParameterCode PRESENTATION

STATUS

public static final ParameterCode STATUS

SEX

public static final ParameterCode SEX

SIZE

public static final ParameterCode SIZE

PROCEEDING

public static final ParameterCode PROCEEDING
Constructor Detail

ParameterCode

protected ParameterCode()
The default constructor allowing super classes to access it.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

fromString

public static ParameterCode fromString(java.lang.String value)
Creates an instance of ParameterCode from value.

Parameters:
value - the value to create the ParameterCode from.

getValue

public java.lang.String getValue()
Gets the underlying value of this type safe enumeration.

Returns:
the underlying value.

compareTo

public int compareTo(java.lang.Object that)
See Also:
Comparable.compareTo(java.lang.Object)

literals

public static java.util.List literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.

Returns:
A List containing the actual literals defined by this enumeration, this list can not be modified.

names

public static java.util.List names()
Returns an unmodifiable list containing the names of the literals that are known by this enumeration.

Returns:
A List containing the actual names of the literals defined by this enumeration, this list can not be modified.

values

public static java.util.List values()
Returns an unmodifiable list containing the actual enumeration instance values.

Returns:
A List containing the actual enumeration instance values.

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()


Copyright © 2008-2010 IFREMER. All Rights Reserved.