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
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 Summary
Fields inherited from class eu.europa.esig.dss.policy.jaxb.LevelConstraint
level
-
Constructor Summary
-
Method Summary
Methods inherited from class eu.europa.esig.dss.policy.jaxb.LevelConstraint
getLevel, setLevel
-
Field Details
-
unit
-
value
-
-
Constructor Details
-
TimeConstraint
public TimeConstraint()
-
-
Method Details
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
TimeUnit
-
setUnit
Sets the value of the unit property.- Parameters:
value
- allowed object isTimeUnit
-
getValue
Gets the value of the value property.- Returns:
- possible object is
Integer
-
setValue
Sets the value of the value property.- Parameters:
value
- allowed object isInteger
-