|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.util.CommandLineArgument
CommandLineArgument
public class CommandLineArgument
Representation of a command line argument.
Field Summary | |
---|---|
protected String |
defaultValue
Deprecated |
protected String |
description
Deprecated |
protected String |
flag
Deprecated |
protected boolean |
required
Deprecated |
protected boolean |
requiresFlagValue
Deprecated |
Constructor Summary | |
---|---|
CommandLineArgument(String aFlag,
boolean requiresValue,
boolean required)
Deprecated Command line argument constructor. |
Method Summary | |
---|---|
boolean |
equals(Object anObject)
Deprecated Equals. |
String |
getDefaultValue()
Deprecated Get default value. |
String |
getDescription()
Deprecated Get description. |
String |
getFlag()
Deprecated Get flag. |
boolean |
isRequired()
Deprecated Is required. |
boolean |
requiresFlagValue()
Deprecated Requires flag value. |
void |
setDefaultValue(String aDefaultValue)
Deprecated Set default value. |
void |
setDescription(String aDescription)
Deprecated Set description. |
void |
setFlag(String aFlag)
Deprecated Set flag. |
void |
setRequired(boolean aBool)
Deprecated Set required. |
void |
setRequiresFlagValue(boolean aBool)
Deprecated Set requires flag value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String flag
protected String defaultValue
protected String description
protected boolean required
protected boolean requiresFlagValue
Constructor Detail |
---|
public CommandLineArgument(String aFlag, boolean requiresValue, boolean required)
aFlag
- requiresValue
- required
- Method Detail |
---|
public void setFlag(String aFlag)
aFlag
- public String getFlag()
String
public String getDescription()
String
public void setDescription(String aDescription)
aDescription
- public void setDefaultValue(String aDefaultValue)
aDefaultValue
- public String getDefaultValue()
String
public void setRequired(boolean aBool)
aBool
- public boolean isRequired()
boolean
public void setRequiresFlagValue(boolean aBool)
aBool
- public boolean requiresFlagValue()
boolean
public boolean equals(Object anObject)
equals
in class Object
anObject
-
boolean
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |