public enum ImmobiliareItVersion extends Enum<ImmobiliareItVersion> implements XmlVersion
Enum Constant and Description |
---|
V2_5
Version 2.5
|
Modifier and Type | Method and Description |
---|---|
static ImmobiliareItVersion |
detectFromString(String version) |
XmlConverter |
getConverter()
Returns the converter for this version.
|
ImmobiliareItVersion |
getNextVersion()
Returns the next version relative to this version.
|
ImmobiliareItVersion |
getPreviousVersion()
Returns the previous version relative to this version.
|
boolean |
isLatestVersion()
Returns the newest / latest version, that is currently supported.
|
boolean |
isNewerThen(XmlVersion v)
Check, if this version is newer then another version.
|
boolean |
isOlderThen(XmlVersion v)
Check, if this version is older then another version.
|
String |
toReadableVersion()
Convert this version to a readable string.
|
static ImmobiliareItVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmobiliareItVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImmobiliareItVersion V2_5
public static ImmobiliareItVersion[] values()
for (ImmobiliareItVersion c : ImmobiliareItVersion.values()) System.out.println(c);
public static ImmobiliareItVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ImmobiliareItVersion detectFromString(String version)
public XmlConverter getConverter()
XmlVersion
getConverter
in interface XmlVersion
public ImmobiliareItVersion getNextVersion()
XmlVersion
getNextVersion
in interface XmlVersion
public ImmobiliareItVersion getPreviousVersion()
XmlVersion
getPreviousVersion
in interface XmlVersion
public boolean isLatestVersion()
XmlVersion
isLatestVersion
in interface XmlVersion
public boolean isNewerThen(XmlVersion v)
XmlVersion
isNewerThen
in interface XmlVersion
v
- the other version to comparepublic boolean isOlderThen(XmlVersion v)
XmlVersion
isOlderThen
in interface XmlVersion
v
- the other version to comparepublic String toReadableVersion()
XmlVersion
toReadableVersion
in interface XmlVersion
Copyright © 2015 OpenEstate. All rights reserved.