Class DocumentType.Validity

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    DocumentType

    public static class DocumentType.Validity
    extends Object
    implements Serializable

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Validity

        public Validity()
        Default no-arg constructor
      • Validity

        public Validity​(Calendar from,
                        Calendar to)
        Fully-initialising value constructor
    • Method Detail

      • getFrom

        public Calendar getFrom()
        Gets the value of the from property.
        Returns:
        possible object is String
      • setFrom

        public void setFrom​(Calendar value)
        Sets the value of the from property.
        Parameters:
        value - allowed object is String
      • getTo

        public Calendar getTo()
        Gets the value of the to property.
        Returns:
        possible object is String
      • setTo

        public void setTo​(Calendar value)
        Sets the value of the to property.
        Parameters:
        value - allowed object is String