Class Subscription

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v4.0.1",
               date="2022-12-20T17:59:47Z")
    public class Subscription
    extends java.lang.Object
    implements java.io.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="ChannelMode">
             <simpleType>
               <list itemType="{http://www.CIP4.org/JDFSchema_2_0}EnumChannelMode" />
             </simpleType>
           </attribute>
           <attribute name="Languages" type="{http://www.CIP4.org/JDFSchema_2_0}languages" />
           <attribute name="RepeatTime" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="URL" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}URL" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • channelMode

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        protected java.util.List<EnumChannelMode> channelMode
      • languages

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        protected java.util.List<java.lang.String> languages
      • repeatTime

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        protected java.lang.Float repeatTime
      • url

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        protected URI url
    • Constructor Detail

      • Subscription

        public Subscription()
    • Method Detail

      • getChannelMode

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public java.util.List<EnumChannelMode> getChannelMode()
        Gets the value of the channelMode property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the channelMode property.

        For example, to add a new item, do as follows:

            getChannelMode().add(newItem);
         

        Objects of the following type(s) are allowed in the list EnumChannelMode

        Returns:
        The value of the channelMode property.
      • getLanguages

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public java.util.List<java.lang.String> getLanguages()
        Gets the value of the languages property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the languages property.

        For example, to add a new item, do as follows:

            getLanguages().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

        Returns:
        The value of the languages property.
      • getRepeatTime

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public java.lang.Float getRepeatTime()
        Gets the value of the repeatTime property.
        Returns:
        possible object is Float
      • setRepeatTime

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public void setRepeatTime​(java.lang.Float value)
        Sets the value of the repeatTime property.
        Parameters:
        value - allowed object is Float
      • getURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public URI getURL()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public void setURL​(URI value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-20T17:59:47Z")
        public java.util.Map<javax.xml.namespace.QName,​java.lang.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
      • withLanguages

        public Subscription withLanguages​(java.lang.String... values)
      • withLanguages

        public Subscription withLanguages​(java.util.Collection<java.lang.String> values)
      • withRepeatTime

        public Subscription withRepeatTime​(java.lang.Float value)
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object