dk.tbsalling.aismessages.messages.types
Enum ReportingInterval
java.lang.Object
java.lang.Enum<ReportingInterval>
dk.tbsalling.aismessages.messages.types.ReportingInterval
- All Implemented Interfaces:
- Serializable, Comparable<ReportingInterval>
public enum ReportingInterval
- extends Enum<ReportingInterval>
Autonomous
public static final ReportingInterval Autonomous
TenMinutes
public static final ReportingInterval TenMinutes
SixMinutes
public static final ReportingInterval SixMinutes
ThreeMinutes
public static final ReportingInterval ThreeMinutes
OneMinute
public static final ReportingInterval OneMinute
ThirtySeconds
public static final ReportingInterval ThirtySeconds
FifteenSeconds
public static final ReportingInterval FifteenSeconds
TenSeconds
public static final ReportingInterval TenSeconds
FiveSeconds
public static final ReportingInterval FiveSeconds
NextShortReportingInterval
public static final ReportingInterval NextShortReportingInterval
NextLongerReportingInterval
public static final ReportingInterval NextLongerReportingInterval
FutureUse1
public static final ReportingInterval FutureUse1
FutureUse2
public static final ReportingInterval FutureUse2
FutureUse3
public static final ReportingInterval FutureUse3
FutureUse4
public static final ReportingInterval FutureUse4
FutureUse5
public static final ReportingInterval FutureUse5
values
public static ReportingInterval[] 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 (ReportingInterval c : ReportingInterval.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReportingInterval valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getCode
public Integer getCode()
getValue
public String getValue()
fromInteger
public static ReportingInterval fromInteger(Integer integer)
Copyright © 2013 Thomas Borg Salling. All Rights Reserved.