public class OptionType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected Boolean |
disableOther |
protected Boolean |
reset |
protected short |
value |
| Constructor and Description |
|---|
OptionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
short |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
Boolean |
isDisableOther()
Gets the value of the disableOther property.
|
Boolean |
isReset()
Gets the value of the reset property.
|
void |
setDisableOther(Boolean value)
Sets the value of the disableOther property.
|
void |
setReset(Boolean value)
Sets the value of the reset property.
|
void |
setValue(short value)
Sets the value of the value property.
|
String |
toString() |
OptionType |
withDescription(Collection<DescriptionType> values) |
OptionType |
withDescription(DescriptionType... values) |
OptionType |
withDisableOther(Boolean value) |
OptionType |
withReset(Boolean value) |
OptionType |
withValue(short value) |
protected List<DescriptionType> description
protected short value
protected Boolean reset
protected Boolean disableOther
public List<DescriptionType> getDescription()
DescriptionTypepublic short getValue()
public void setValue(short value)
public Boolean isReset()
Booleanpublic void setReset(Boolean value)
value - allowed object is
Booleanpublic Boolean isDisableOther()
Booleanpublic void setDisableOther(Boolean value)
value - allowed object is
Booleanpublic OptionType withDescription(DescriptionType... values)
public OptionType withDescription(Collection<DescriptionType> values)
public OptionType withValue(short value)
public OptionType withReset(Boolean value)
public OptionType withDisableOther(Boolean value)
Copyright © 2022. All rights reserved.