ilog.rules.teamserver.model
Class IlrBusinessVersion
- java.lang.Object
-
- ilog.rules.teamserver.model.IlrBusinessVersion
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IlrElementVersion
public class IlrBusinessVersion extends java.lang.Object implements java.io.Serializable
Version of a Decision Center.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description IlrBusinessVersion(int major, int minor)
-
Method Summary
Methods Modifier and Type Method and Description boolean
equals(java.lang.Object o)
int
getMajor()
Gets the major version of the element.int
getMinor()
Gets the minor version of the element.java.lang.String
getVersion()
Returns the version string of the element with format x.y, where x is the major version, and y the minor version.int
hashCode()
void
setMajor(int major)
void
setMinor(int minor)
-
-
-
Method Detail
-
getMajor
public int getMajor()
Gets the major version of the element.- Returns:
- A positive integer.
-
setMajor
public void setMajor(int major)
-
getMinor
public int getMinor()
Gets the minor version of the element.- Returns:
- A positive integer.
-
setMinor
public void setMinor(int minor)
-
getVersion
public java.lang.String getVersion()
Returns the version string of the element with format x.y, where x is the major version, and y the minor version.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-