Class IntegerValue
java.lang.Object
software.amazon.smithy.rulesengine.language.evaluation.value.Value
software.amazon.smithy.rulesengine.language.evaluation.value.IntegerValue
- All Implemented Interfaces:
 FromSourceLocation,ToNode
An integer value.
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the current value as anArrayValue, throwingRuntimeExceptionwhen the value is the wrong type.getType()intgetValue()Gets the value of the integer.toNode()Converts a value to aNode.Methods inherited from class software.amazon.smithy.rulesengine.language.evaluation.value.Value
arrayValue, booleanValue, emptyValue, endpointValue, expectArrayValue, expectBooleanValue, expectEndpointValue, expectRecordValue, expectStringValue, fromNode, getSourceLocation, integerValue, isEmpty, recordValue, stringValue 
- 
Method Details
- 
getValue
public int getValue()Gets the value of the integer.- Returns:
 - the value of the integer.
 
 - 
getType
 - 
expectIntegerValue
Description copied from class:ValueReturns the current value as anArrayValue, throwingRuntimeExceptionwhen the value is the wrong type.- Overrides:
 expectIntegerValuein classValue- Returns:
 - returns an integer value.
 
 - 
toNode
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
 - Returns the creates Node.
 
 
 -