Class UnlimitedNatural

java.lang.Object
java.lang.Number
com.nomagic.magicdraw.simulation.datatypes.UnlimitedNatural
All Implemented Interfaces:
Serializable

@OpenApiAll public class UnlimitedNatural extends Number
The Class UnlimitedNatural.
See Also:
  • Constructor Details

    • UnlimitedNatural

      public UnlimitedNatural(int naturalValue)
      operation UnlimitedNatural.
      Parameters:
      naturalValue - the natural value
    • UnlimitedNatural

      public UnlimitedNatural()
      operation UnlimitedNatural.
  • Method Details

    • setNaturalValue

      public void setNaturalValue(int value)
      set naturalValue.
      Parameters:
      value - a value
    • getNaturalValue

      public int getNaturalValue()
      get naturalValue.
      Returns:
      naturalValue
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • intValue

      public int intValue()
      Specified by:
      intValue in class Number
    • longValue

      public long longValue()
      Specified by:
      longValue in class Number
    • floatValue

      public float floatValue()
      Specified by:
      floatValue in class Number
    • doubleValue

      public double doubleValue()
      Specified by:
      doubleValue in class Number