org.gdl2.expression.ConstantExpression Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdl2 Show documentation
Show all versions of gdl2 Show documentation
Guideline Definition Language v2 reference java implementation
The newest version!
package org.gdl2.expression;
import lombok.EqualsAndHashCode;
import lombok.Getter;
@EqualsAndHashCode(callSuper = false)
@Getter
public class ConstantExpression extends ExpressionItem {
private String value;
public ConstantExpression(String value) {
this.value = value;
}
public static ConstantExpression create(String value) {
return new ConstantExpression(value);
}
public String toString() {
return value;
}
}