public enum ArcVersion extends java.lang.Enum<ArcVersion>
| Enum Constant and Description |
|---|
VERSION_1
Version 1.0 enum.
|
VERSION_1_1
Version 1.1 enum.
|
VERSION_2
Version 2.0 enum.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
arcRecordType
Arc record field type.
|
int |
major
Major version number.
|
int |
minor
Minor version number.
|
java.lang.String |
versionBlockType
Version block field type.
|
| Modifier and Type | Method and Description |
|---|---|
static ArcVersion |
fromValues(int major,
int minor)
Given a version number return the corresponding
ArcVersion
object or null. |
java.lang.String |
toString() |
static ArcVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArcVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArcVersion VERSION_1
public static final ArcVersion VERSION_1_1
public static final ArcVersion VERSION_2
public final int major
public final int minor
public final java.lang.String versionBlockType
public final java.lang.String arcRecordType
public static ArcVersion[] values()
for (ArcVersion c : ArcVersion.values()) System.out.println(c);
public static ArcVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ArcVersion fromValues(int major, int minor)
ArcVersion
object or null.major - major version numberminor - minor version numberArcVersion object or null.public java.lang.String toString()
toString in class java.lang.Enum<ArcVersion>Copyright © 2011–2022. All rights reserved.