public class RationalNumber extends DynamicStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
RationalNumber.Builder |
static class |
RationalNumber.Fields |
Structure.MapKind<T>UaNamespaceTranslateable.Context| Modifier and Type | Field and Description |
|---|---|
static StructureSpecification |
SPECIFICATION |
| Modifier | Constructor and Description |
|---|---|
|
RationalNumber() |
|
RationalNumber(Integer f_numerator,
UnsignedInteger f_denominator) |
protected |
RationalNumber(UaDataTypeSpecification specification) |
| Modifier and Type | Method and Description |
|---|---|
static RationalNumber.Builder |
builder() |
RationalNumber |
clone()
Clones the Structure.
|
UnsignedInteger |
getDenominator() |
Integer |
getNumerator() |
void |
setDenominator(UnsignedInteger value) |
void |
setNumerator(Integer value) |
RationalNumber.Builder |
toBuilder()
Returns a builder with the data of this Structure pre-set.
|
builderclear, equals, forEachField, forEachField, get, get, hashCode, indexGet, indexSet, set, set, specification, toFieldNamesMap, toFieldNamesMap, toFieldsMap, toFieldsMap, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitreduceFields, reduceFields, toMap, withTranslatedNamespacespublic static final StructureSpecification SPECIFICATION
public RationalNumber()
protected RationalNumber(UaDataTypeSpecification specification)
public RationalNumber(Integer f_numerator, UnsignedInteger f_denominator)
public Integer getNumerator()
public void setNumerator(Integer value)
public UnsignedInteger getDenominator()
public void setDenominator(UnsignedInteger value)
public RationalNumber clone()
AbstractStructureCloneNotSupportedException
as all Structures must be cloneable.clone in interface Structureclone in class DynamicStructurepublic static RationalNumber.Builder builder()
public RationalNumber.Builder toBuilder()
Structure#getClass() as this one.toBuilder in interface StructuretoBuilder in class AbstractStructureCopyright © 2026. All rights reserved.