Closed pabrabbin closed 6 years ago
For Enumerations with less than 256 elements defined, an additional public method is now generated in the Java class.
public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
This is helpful when working with certain data structures in the M&C book which use the UOctet type to hold possible enumerations.
https://github.com/esa/CCSDS_MO_StubGenerator/issues/22
For Enumerations with less than 256 elements defined, an additional public method is now generated in the Java class.
public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
This is helpful when working with certain data structures in the M&C book which use the UOctet type to hold possible enumerations.