Package org.opennms.features.apilayer
Class VersionBean
- java.lang.Object
-
- org.opennms.features.apilayer.VersionBean
-
- All Implemented Interfaces:
Comparable<org.opennms.integration.api.v1.runtime.Version>
,org.opennms.integration.api.v1.runtime.Version
public class VersionBean extends Object implements org.opennms.integration.api.v1.runtime.Version
-
-
Constructor Summary
Constructors Constructor Description VersionBean(String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(org.opennms.integration.api.v1.runtime.Version v)
boolean
equals(Object o)
int
getMajor()
int
getMinor()
int
getPatch()
int
hashCode()
boolean
isSnapshot()
String
toString()
-
-
-
Constructor Detail
-
VersionBean
public VersionBean(String version)
-
-
Method Detail
-
getMajor
public int getMajor()
- Specified by:
getMajor
in interfaceorg.opennms.integration.api.v1.runtime.Version
-
getMinor
public int getMinor()
- Specified by:
getMinor
in interfaceorg.opennms.integration.api.v1.runtime.Version
-
getPatch
public int getPatch()
- Specified by:
getPatch
in interfaceorg.opennms.integration.api.v1.runtime.Version
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshot
in interfaceorg.opennms.integration.api.v1.runtime.Version
-
compareTo
public int compareTo(org.opennms.integration.api.v1.runtime.Version v)
- Specified by:
compareTo
in interfaceComparable<org.opennms.integration.api.v1.runtime.Version>
-
-