/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.amazonaws.mturk.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; /** * * @author Jeremy Custenborder */ @XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement(name = "IsNumeric", namespace = QuestionForm.NS) public class IsNumericConstraint implements Constraint { @XmlAttribute(name = "minValue", required = false) Integer minValue; @XmlAttribute(name = "maxValue", required = false) Integer maxValue; public Integer getMinValue() { return minValue; } public void setMinValue(Integer minValue) { this.minValue = minValue; } public Integer getMaxValue() { return maxValue; } public void setMaxValue(Integer maxValue) { this.maxValue = maxValue; } }