Class TimeConstraint

  • All Implemented Interfaces:
    Serializable

    public class TimeConstraint
    extends LevelConstraint
    implements Serializable
    Time based check : follows the specified level behavior if the checked element is over the time limit

    Java class for TimeConstraint complex type.

    The following schema fragment specifies the expected content contained within this class.

     <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>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeConstraint

        public TimeConstraint()
    • Method Detail

      • getUnit

        public TimeUnit getUnit()
        Gets the value of the unit property.
        Returns:
        possible object is TimeUnit
      • setUnit

        public void setUnit​(TimeUnit value)
        Sets the value of the unit property.
        Parameters:
        value - allowed object is TimeUnit
      • getValue

        public Integer getValue()
        Gets the value of the value property.
        Returns:
        possible object is Integer
      • setValue

        public void setValue​(Integer value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is Integer