Class Subscription
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Subscription
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public class Subscription extends java.lang.Object implements java.io.SerializableJava 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 Summary
Fields Modifier and Type Field Description protected java.util.List<EnumChannelMode>channelModeprotected java.util.List<java.lang.String>languagesprotected java.lang.FloatrepeatTimeprotected URIurl
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.util.List<EnumChannelMode>getChannelMode()Gets the value of the channelMode property.java.util.List<java.lang.String>getLanguages()Gets the value of the languages property.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.java.lang.FloatgetRepeatTime()Gets the value of the repeatTime property.URIgetURL()Gets the value of the url property.inthashCode()voidsetRepeatTime(java.lang.Float value)Sets the value of the repeatTime property.voidsetURL(URI value)Sets the value of the url property.SubscriptionwithChannelMode(java.util.Collection<EnumChannelMode> values)SubscriptionwithChannelMode(EnumChannelMode... values)SubscriptionwithLanguages(java.lang.String... values)SubscriptionwithLanguages(java.util.Collection<java.lang.String> values)SubscriptionwithRepeatTime(java.lang.Float value)SubscriptionwithURL(URI value)
-
-
-
Field Detail
-
channelMode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<EnumChannelMode> channelMode
-
languages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<java.lang.String> languages
-
repeatTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.Float repeatTime
-
url
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected URI url
-
-
Method Detail
-
getChannelMode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
setmethod 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.2", date="2023-07-17T18:40:39Z") 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
setmethod 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.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setRepeatTime(java.lang.Float value)Sets the value of the repeatTime property.- Parameters:
value- allowed object isFloat
-
getURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setURL(URI value)Sets the value of the url property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
-
withChannelMode
public Subscription withChannelMode(EnumChannelMode... values)
-
withChannelMode
public Subscription withChannelMode(java.util.Collection<EnumChannelMode> values)
-
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)
-
withURL
public Subscription withURL(URI value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-