jxl.version
Class VersionSegment

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

public class VersionSegment
extends VersionSpecification

Author:
alex
See Also:
Serialized Form

Field Summary
static short X
           
 
Constructor Summary
VersionSegment()
          Creates a new instance of VersionSegment
VersionSegment(short rev1)
           
VersionSegment(short rev1, short rev2)
           
VersionSegment(short rev1, short rev2, short rev3)
           
VersionSegment(Version min, Version max)
           
VersionSegment(Version min, Version max, boolean inclusive)
           
 
Method Summary
 Version getMaxVersion()
          Getter for property maxVersion.
 Version getMinVersion()
          Getter for property minVersion.
 boolean implies(Version v)
           
 void setMaxVersion(Version maxVersion)
          Setter for property maxVersion.
 void setMinVersion(Version minVersion)
          Setter for property minVersion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X

public static final short X
See Also:
Constant Field Values
Constructor Detail

VersionSegment

public VersionSegment()
Creates a new instance of VersionSegment


VersionSegment

public VersionSegment(Version min,
                      Version max,
                      boolean inclusive)

VersionSegment

public VersionSegment(Version min,
                      Version max)

VersionSegment

public VersionSegment(short rev1)

VersionSegment

public VersionSegment(short rev1,
                      short rev2)

VersionSegment

public VersionSegment(short rev1,
                      short rev2,
                      short rev3)
Method Detail

implies

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

getMinVersion

public Version getMinVersion()
Getter for property minVersion.

Returns:
Value of property minVersion.

setMinVersion

public void setMinVersion(Version minVersion)
Setter for property minVersion.

Parameters:
minVersion - New value of property minVersion.

getMaxVersion

public Version getMaxVersion()
Getter for property maxVersion.

Returns:
Value of property maxVersion.

setMaxVersion

public void setMaxVersion(Version maxVersion)
Setter for property maxVersion.

Parameters:
maxVersion - New value of property maxVersion.