Class Expires


  • public class Expires
    extends Object
    • Constructor Detail

      • Expires

        public Expires()
      • Expires

        public Expires​(Duration value)
      • Expires

        public Expires​(long duration)
    • Method Detail

      • getDuration

        public long getDuration()
      • setDuration

        public void setDuration​(long value)
      • getValue

        public Duration getValue()
        Gets the value of the value property.
        Returns:
        possible object is Duration
      • setValue

        public void setValue​(Duration value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is Duration
      • getOtherAttributes

        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null