Package eu.europa.esig.dss.policy.jaxb
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 limitJava 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
-
-
Field Summary
-
Fields inherited from class eu.europa.esig.dss.policy.jaxb.LevelConstraint
level
-
-
Constructor Summary
Constructors Constructor Description 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 isTimeUnit
-
getValue
public Integer getValue()
Gets the value of the value property.- Returns:
- possible object is
Integer
-
-