pellet
Class PelletCmdOption
java.lang.Object
pellet.PelletCmdOption
public class PelletCmdOption
- extends java.lang.Object
Title: PelletCmdOption
Description: Represents a pellet command line option, i.e. the option name,
the long option name and the option value given on command line
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
- Author:
- Markus Stocker
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PelletCmdOption
public PelletCmdOption(java.lang.String longOption)
getShortOption
public java.lang.String getShortOption()
getLongOption
public java.lang.String getLongOption()
setShortOption
public void setShortOption(java.lang.String shortOption)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
setDescription
public void setDescription(java.lang.String description)
getDescription
public java.lang.String getDescription()
setDefaultValue
public void setDefaultValue(java.lang.Object defaultValue)
getDefaultValue
public java.lang.Object getDefaultValue()
getValue
public java.lang.Object getValue()
getValueAsString
public java.lang.String getValueAsString()
getValueAsInteger
public java.lang.Integer getValueAsInteger()
getValueAsBoolean
public java.lang.Boolean getValueAsBoolean()
setValue
public void setValue(java.lang.String value)
setValue
public void setValue(java.lang.Boolean value)
setIsMandatory
public void setIsMandatory(boolean isMandatory)
isMandatory
public boolean isMandatory()
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
setArg
public void setArg(PelletCmdOptionArg arg)
getArg
public PelletCmdOptionArg getArg()
Copyright © 2004 Evren Sirin. All Rights Reserved.