// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.01.24 at 06:43:16 AM CET // package eu.europa.esig.jaxb.policy; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TimeConstraint complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="TimeConstraint"> * <complexContent> * <extension base="{http://dss.esig.europa.eu/validation/policy}LevelConstraint"> * <attribute name="Unit" type="{http://dss.esig.europa.eu/validation/policy}TimeUnit" /> * <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}int" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TimeConstraint") public class TimeConstraint extends LevelConstraint { @XmlAttribute(name = "Unit") protected TimeUnit unit; @XmlAttribute(name = "Value") protected Integer value; /** * Gets the value of the unit property. * * @return * possible object is * {@link TimeUnit } * */ public TimeUnit getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link TimeUnit } * */ public void setUnit(TimeUnit value) { this.unit = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link Integer } * */ public Integer getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Integer } * */ public void setValue(Integer value) { this.value = value; } }