Class Subscription
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Subscription
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") public class Subscription extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java 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)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)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()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)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", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") protected java.util.List<EnumChannelMode> channelMode
-
languages
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") protected java.util.List<java.lang.String> languages
-
repeatTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") protected java.lang.Float repeatTime
-
url
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") protected URI url
-
-
Method Detail
-
getChannelMode
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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 JAXB 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
-
getLanguages
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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 JAXB 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
-
getRepeatTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") public URI getURL()Gets the value of the url property.- Returns:
- possible object is
String
-
setURL
@Generated(value="com.sun.tools.xjc.Driver", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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", date="2020-06-05T09:32:04+00:00", comments="JAXB RI v2.3.2") 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(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-