public class Version extends Object implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
Version()
Default Constructor
|
Version(Integer majorVersion,
Integer minorVersion)
Parameterized constructor
|
Version(Version versionObj)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
Integer |
getMajorVersion()
Gets MajorVersion
|
Integer |
getMinorVersion()
Gets MinorVersion
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setMajorVersion(Integer majorVersion)
Sets MajorVersion
|
void |
setMinorVersion(Integer minorVersion)
Sets MinorVersion
|
String |
toString()
Stringifies the class
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public Version()
public Version(Version versionObj)
versionObj - reference to the object to be copiedpublic Integer getMajorVersion()
public void setMajorVersion(Integer majorVersion)
majorVersion - the major version idpublic Integer getMinorVersion()
public void setMinorVersion(Integer minorVersion)
minorVersion - the minor version idpublic String toString()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.