Class ResourceLength
java.lang.Object
net.finmath.smartcontract.product.xml.ResourceLength
The type that indicates the length of the resource.
Java class for ResourceLength complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceLength"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="lengthUnit" type="{http://www.fpml.org/FpML-5/confirmation}LengthUnitEnum"/> <element name="lengthValue" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the lengthUnit property.Gets the value of the lengthValue property.void
setLengthUnit
(LengthUnitEnum value) Sets the value of the lengthUnit property.void
setLengthValue
(BigDecimal value) Sets the value of the lengthValue property.
-
Field Details
-
lengthUnit
-
lengthValue
-
-
Constructor Details
-
ResourceLength
public ResourceLength()
-
-
Method Details
-
getLengthUnit
Gets the value of the lengthUnit property.- Returns:
- possible object is
LengthUnitEnum
-
setLengthUnit
Sets the value of the lengthUnit property.- Parameters:
value
- allowed object isLengthUnitEnum
-
getLengthValue
Gets the value of the lengthValue property.- Returns:
- possible object is
BigDecimal
-
setLengthValue
Sets the value of the lengthValue property.- Parameters:
value
- allowed object isBigDecimal
-