jxl.version
Class VersionRay

java.lang.Object
  extended by jxl.version.VersionSpecification
      extended by jxl.version.VersionRay
All Implemented Interfaces:
java.io.Serializable

public class VersionRay
extends VersionSpecification

Author:
alex
See Also:
Serialized Form

Constructor Summary
VersionRay()
           
VersionRay(Version v, boolean positive)
          Creates a new instance of VersionRay
VersionRay(Version v, boolean positive, boolean inclusive)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Version getVersion()
          Getter for property version.
 int hashCode()
           
 boolean implies(Version v)
           
 boolean isPositive()
          Getter for property positive.
static VersionRay parseVersionRay(java.lang.String versionRay)
           
 void setPositive(boolean pos)
           
 void setVersion(Version v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionRay

public VersionRay()

VersionRay

public VersionRay(Version v,
                  boolean positive)
Creates a new instance of VersionRay


VersionRay

public VersionRay(Version v,
                  boolean positive,
                  boolean inclusive)
Method Detail

implies

public boolean implies(Version v)
Specified by:
implies in class VersionSpecification

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

parseVersionRay

public static VersionRay parseVersionRay(java.lang.String versionRay)

getVersion

public Version getVersion()
Getter for property version.

Returns:
Value of property version.

setVersion

public void setVersion(Version v)

isPositive

public boolean isPositive()
Getter for property positive.

Returns:
Value of property positive.

setPositive

public void setPositive(boolean pos)