net.sf.sasl.language.placeholder.syntax.types
Class DecimalNode
java.lang.Object
net.sf.sasl.language.placeholder.syntax.ASTNode
net.sf.sasl.language.placeholder.syntax.types.TypeValueNode<BigDecimal>
net.sf.sasl.language.placeholder.syntax.types.DecimalNode
public class DecimalNode
- extends TypeValueNode<BigDecimal>
Defines a decimal node that holds a BigDecimal
value.
- Since:
- 0.0.1 (sasl-common-aspect-library)
- Author:
- Philipp Förmer
|
Constructor Summary |
DecimalNode(String value)
Creates a decimal node with the given decimal value and no parent node. |
DecimalNode(String value,
ASTNode parentNode)
Creates a decimal node with the given decimal value and parent node. |
DecimalNode
public DecimalNode(String value)
throws IllegalArgumentException
- Creates a decimal node with the given decimal value and no parent node.
- Parameters:
value - non null decimal number.
- Throws:
IllegalArgumentException - if value is null or not a valid decimal number.- Since:
- 0.0.1 (sasl-common-aspect-library)
DecimalNode
public DecimalNode(String value,
ASTNode parentNode)
throws IllegalArgumentException
- Creates a decimal node with the given decimal value and parent node.
- Parameters:
value - non null decimal number.parentNode - null or non null parent node.
- Throws:
IllegalArgumentException - if value is null or not a valid decimal number.- Since:
- 0.0.1 (sasl-common-aspect-library)
Copyright © 2010. All Rights Reserved.