public abstract class Choice extends AbstractData
Choice
is the base class for classes that represent the CHOICE type.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep copy of
this object. |
boolean |
equals(java.lang.Object that)
Compares this object to another
Choice to see if they are equal. |
int |
getChosenFlag()
Identifies the alternative that is currently selected.
|
AbstractData |
getChosenValue()
Returns the value of the alternative that is currently selected.
|
int |
hashCode()
Returns a hash code value for the object.
|
public final int getChosenFlag()
public AbstractData getChosenValue()
public boolean equals(java.lang.Object that)
Choice
to see if they are equal. Two Choice
objects are considered equal if and only if they have the same type and the selected
alternatives are equal. (Two alternatives, a1
and a2
,
are equal if a1 == null ? a2 == null : a1.equals(a2)
).equals
in class java.lang.Object
that
- the Choice
object to be compared to.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
AbstractData
this
object.clone
in class AbstractData
Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.