java.lang.Object
eu.europa.esig.dss.policy.LevelConstraintWrapper
eu.europa.esig.dss.policy.TimeConstraintWrapper
- All Implemented Interfaces:
eu.europa.esig.dss.model.policy.DurationRule,eu.europa.esig.dss.model.policy.LevelRule
public class TimeConstraintWrapper
extends LevelConstraintWrapper
implements eu.europa.esig.dss.model.policy.DurationRule
Wraps
eu.europa.esig.dss.policy.jaxb.TimeConstraint into a eu.europa.esig.dss.model.policy.DurationRule-
Field Summary
Fields inherited from class eu.europa.esig.dss.policy.LevelConstraintWrapper
constraint -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.europa.esig.dss.policy.LevelConstraintWrapper
getConstraint, getLevelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.model.policy.LevelRule
getLevel
-
Constructor Details
-
TimeConstraintWrapper
Default constructor- Parameters:
constraint-TimeConstraint
-
-
Method Details
-
getDuration
public long getDuration()- Specified by:
getDurationin interfaceeu.europa.esig.dss.model.policy.DurationRule
-