Decision Center API

ilog.rules.teamserver.model
Class IlrBusinessVersion

java.lang.Object
  extended by ilog.rules.teamserver.model.IlrBusinessVersion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlrElementVersion

public class IlrBusinessVersion
extends Object
implements Serializable

Version of a Decision Center.

See Also:
Serialized Form

Constructor Summary
IlrBusinessVersion(int major, int minor)
           
 
Method Summary
 boolean equals(Object o)
           
 int getMajor()
          Gets the major version of the element.
 int getMinor()
          Gets the minor version of the element.
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrBusinessVersion

public IlrBusinessVersion(int major,
                          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 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(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Decision Center API

© Copyright IBM Corp. 1987, 2013