public class Option
extends java.lang.Object
Constructor and Description |
---|
Option(java.lang.String name,
java.lang.String type,
boolean required) |
Option(java.lang.String name,
java.lang.String type,
java.lang.Object defaultValue,
boolean required) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Overwrite equals(), because the Object.equals works wrong for an Option
instance.
|
java.lang.Object |
getDefault() |
java.lang.String |
getName() |
java.lang.String |
getType() |
boolean |
isRequired() |
public Option(java.lang.String name, java.lang.String type, boolean required)
public Option(java.lang.String name, java.lang.String type, java.lang.Object defaultValue, boolean required)
public java.lang.String getName()
public java.lang.String getType()
public java.lang.Object getDefault()
public boolean isRequired()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-