Class UnlimitedNatural
- java.lang.Object
-
- java.lang.Number
-
- com.nomagic.magicdraw.simulation.datatypes.UnlimitedNatural
-
- All Implemented Interfaces:
java.io.Serializable
@OpenApiAll public class UnlimitedNatural extends java.lang.Number
The Class UnlimitedNatural.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnlimitedNatural()
operation UnlimitedNatural.UnlimitedNatural(int naturalValue)
operation UnlimitedNatural.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue()
float
floatValue()
int
getNaturalValue()
get naturalValue.int
intValue()
long
longValue()
void
setNaturalValue(int value)
set naturalValue.java.lang.String
toString()
-
-
-
Method Detail
-
setNaturalValue
public void setNaturalValue(int value)
set naturalValue.- Parameters:
value
- a value
-
getNaturalValue
public int getNaturalValue()
get naturalValue.- Returns:
- naturalValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
-