getopt-0.3

jrowe.getopt
Class DefaultGetOptions.OptionRecord

java.lang.Object
  |
  +--jrowe.getopt.DefaultGetOptions.OptionRecord
Enclosing class:
DefaultGetOptions

protected class DefaultGetOptions.OptionRecord
extends Object

Used to encapuslate Option objects.

Version:
1.0 AUG 27 1999 Initial Version.
Author:
Joshua T. Rowe

Constructor Summary
DefaultGetOptions.OptionRecord()
          Creates a new OptionRecord object.
 
Method Summary
 Number getActualIndex()
          Returns the Actual Index property.
 Object getArg()
          Returns the Arg property.
 Option getOption()
          Returns the Option property.
 int getParsedCount()
          Returns the Parsed property.
 Number getRequestedIndex()
          Returns the Requested Index property.
 void incrementParsedCount()
          Sets the Parsed Count property.
 boolean isParsed()
          Returns the Parsed property.
 void setActualIndex(int actualIndex)
          Sets the Actual Index property.
 void setActualIndex(Number actualIndex)
          Sets the Actual Index property.
 void setArg(Object newArg)
          Sets the Arg property.
 void setOption(Option option)
          Sets the Option property.
 void setParsed(boolean parsed)
          Sets the Parsed property.
 void setRequestedIndex(int requestedIndex)
          Sets the Requested Index property.
 void setRequestedIndex(Number requestedIndex)
          Sets the Requested Index property.
 String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultGetOptions.OptionRecord

public DefaultGetOptions.OptionRecord()
Creates a new OptionRecord object.
Method Detail

setOption

public void setOption(Option option)
Sets the Option property.
Parameters:
option - the new value for the Option property

getOption

public Option getOption()
Returns the Option property.

setArg

public void setArg(Object newArg)
Sets the Arg property.
Parameters:
newArg - the new value for the Arg property

getArg

public Object getArg()
Returns the Arg property.

setActualIndex

public void setActualIndex(int actualIndex)
Sets the Actual Index property.
Parameters:
actualIndex - the new value for the Actual Index property

setActualIndex

public void setActualIndex(Number actualIndex)
Sets the Actual Index property.
Parameters:
actualIndex - the new value for the Actual Index property

getActualIndex

public Number getActualIndex()
Returns the Actual Index property.

setRequestedIndex

public void setRequestedIndex(int requestedIndex)
Sets the Requested Index property.
Parameters:
requestedIndex - the new value for the Requested Index property

setRequestedIndex

public void setRequestedIndex(Number requestedIndex)
Sets the Requested Index property.
Parameters:
requestedIndex - the new value for the Requested Index property

getRequestedIndex

public Number getRequestedIndex()
Returns the Requested Index property.

incrementParsedCount

public void incrementParsedCount()
Sets the Parsed Count property.
Parameters:
parsed - the new value for the Parsed Count property

getParsedCount

public int getParsedCount()
Returns the Parsed property.

setParsed

public void setParsed(boolean parsed)
Sets the Parsed property.
Parameters:
parsed - the new value for the Parsed property

isParsed

public boolean isParsed()
Returns the Parsed property.

toString

public String toString()
Overrides:
toString in class Object

getopt-0.3