fr.ifremer.isisfish.simulator
Enum SimulationMeta
java.lang.Object
java.lang.Enum<SimulationMeta>
fr.ifremer.isisfish.simulator.SimulationMeta
- All Implemented Interfaces:
- ValueGetter<SimulationProperties,java.lang.Object>, java.io.Serializable, java.lang.Comparable<SimulationMeta>
public enum SimulationMeta
- extends java.lang.Enum<SimulationMeta>
- implements ValueGetter<SimulationProperties,java.lang.Object>
This enum represents all properties on which we can perform search.
Each constant is also used as acceptor for the property it represents (using Acceptor.accept(Object, Object)
and permit to access SimulationProperties values with methods
getValue(SimulationProperties)
and getDateValue(SimulationProperties)
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
isisFishVersion
public static final SimulationMeta isisFishVersion
description
public static final SimulationMeta description
simulationName
public static final SimulationMeta simulationName
simulatorName
public static final SimulationMeta simulatorName
analysePlanName
public static final SimulationMeta analysePlanName
regionName
public static final SimulationMeta regionName
otherInfo
public static final SimulationMeta otherInfo
numberOfYear
public static final SimulationMeta numberOfYear
analysePlanNumber
public static final SimulationMeta analysePlanNumber
simulationInterval
public static final SimulationMeta simulationInterval
simulationStart
public static final SimulationMeta simulationStart
simulationEnd
public static final SimulationMeta simulationEnd
exportTime
public static final SimulationMeta exportTime
useOptimization
public static final SimulationMeta useOptimization
useAnalysePlan
public static final SimulationMeta useAnalysePlan
useStatistic
public static final SimulationMeta useStatistic
usePreScript
public static final SimulationMeta usePreScript
onlyExport
public static final SimulationMeta onlyExport
local
public static final SimulationMeta local
values
public static SimulationMeta[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SimulationMeta c : SimulationMeta.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SimulationMeta valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
createParamModel
public FilterParamModel<SimulationProperties,?> createParamModel()
getKlazz
public java.lang.Class<?> getKlazz()
getValue
public java.lang.Object getValue(SimulationProperties sim)
- Specified by:
getValue in interface ValueGetter<SimulationProperties,java.lang.Object>
- Parameters:
sim - model to use
- Returns:
- the required value
getDateValue
public long getDateValue(SimulationProperties sim)
Copyright © 1999-2010 CodeLutin. All Rights Reserved.