dk.tbsalling.aismessages.messages.types
Enum ReportingInterval

java.lang.Object
  extended by java.lang.Enum<ReportingInterval>
      extended by dk.tbsalling.aismessages.messages.types.ReportingInterval
All Implemented Interfaces:
Serializable, Comparable<ReportingInterval>

public enum ReportingInterval
extends Enum<ReportingInterval>


Enum Constant Summary
Autonomous
           
FifteenSeconds
           
FiveSeconds
           
FutureUse1
           
FutureUse2
           
FutureUse3
           
FutureUse4
           
FutureUse5
           
NextLongerReportingInterval
           
NextShortReportingInterval
           
OneMinute
           
SixMinutes
           
TenMinutes
           
TenSeconds
           
ThirtySeconds
           
ThreeMinutes
           
 
Method Summary
static ReportingInterval fromInteger(Integer integer)
           
 Integer getCode()
           
 String getValue()
           
static ReportingInterval valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportingInterval[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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.