KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2002 > _03 > xkms_ > ValidityIntervalType


1
2 package org.w3._2002._03.xkms_;
3
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlAttribute;
7 import javax.xml.bind.annotation.XmlType;
8 import javax.xml.datatype.XMLGregorianCalendar JavaDoc;
9
10
11 /**
12  * <p>Java class for ValidityIntervalType complex type.
13  *
14  * <p>The following schema fragment specifies the expected content contained within this class.
15  *
16  * <pre>
17  * &lt;complexType name="ValidityIntervalType">
18  * &lt;complexContent>
19  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20  * &lt;attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
21  * &lt;attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
22  * &lt;/restriction>
23  * &lt;/complexContent>
24  * &lt;/complexType>
25  * </pre>
26  *
27  *
28  */

29 @XmlAccessorType(XmlAccessType.FIELD)
30 @XmlType(name = "ValidityIntervalType")
31 public class ValidityIntervalType {
32
33     @XmlAttribute(name = "NotBefore")
34     protected XMLGregorianCalendar JavaDoc notBefore;
35     @XmlAttribute(name = "NotOnOrAfter")
36     protected XMLGregorianCalendar JavaDoc notOnOrAfter;
37
38     /**
39      * Gets the value of the notBefore property.
40      *
41      * @return
42      * possible object is
43      * {@link XMLGregorianCalendar }
44      *
45      */

46     public XMLGregorianCalendar JavaDoc getNotBefore() {
47         return notBefore;
48     }
49
50     /**
51      * Sets the value of the notBefore property.
52      *
53      * @param value
54      * allowed object is
55      * {@link XMLGregorianCalendar }
56      *
57      */

58     public void setNotBefore(XMLGregorianCalendar JavaDoc value) {
59         this.notBefore = value;
60     }
61
62     /**
63      * Gets the value of the notOnOrAfter property.
64      *
65      * @return
66      * possible object is
67      * {@link XMLGregorianCalendar }
68      *
69      */

70     public XMLGregorianCalendar JavaDoc getNotOnOrAfter() {
71         return notOnOrAfter;
72     }
73
74     /**
75      * Sets the value of the notOnOrAfter property.
76      *
77      * @param value
78      * allowed object is
79      * {@link XMLGregorianCalendar }
80      *
81      */

82     public void setNotOnOrAfter(XMLGregorianCalendar JavaDoc value) {
83         this.notOnOrAfter = value;
84     }
85
86 }
87
Popular Tags