Class TimeConstraint

java.lang.Object
eu.europa.esig.dss.policy.jaxb.LevelConstraint
eu.europa.esig.dss.policy.jaxb.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:
  • Field Details

  • Constructor Details

    • TimeConstraint

      public TimeConstraint()
  • Method Details

    • 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