Package org.cip4.lib.xjdf.schema
Class SubscriptionInfo
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SubscriptionInfo
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class SubscriptionInfo 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"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Subscription"/> </sequence> <attribute name="ChannelID" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="DeviceID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="MessageType" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringchannelIDprotected java.lang.StringdeviceIDprotected java.lang.StringmessageTypeprotected Subscriptionsubscription
-
Constructor Summary
Constructors Constructor Description SubscriptionInfo()
-
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.lang.StringgetChannelID()Gets the value of the channelID property.java.lang.StringgetDeviceID()Gets the value of the deviceID property.java.lang.StringgetMessageType()Gets the value of the messageType 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.SubscriptiongetSubscription()Gets the value of the subscription property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetChannelID(java.lang.String value)Sets the value of the channelID property.voidsetDeviceID(java.lang.String value)Sets the value of the deviceID property.voidsetMessageType(java.lang.String value)Sets the value of the messageType property.voidsetSubscription(Subscription value)Sets the value of the subscription property.SubscriptionInfowithChannelID(java.lang.String value)SubscriptionInfowithDeviceID(java.lang.String value)SubscriptionInfowithMessageType(java.lang.String value)SubscriptionInfowithSubscription(Subscription value)
-
-
-
Field Detail
-
subscription
protected Subscription subscription
-
channelID
protected java.lang.String channelID
-
deviceID
protected java.lang.String deviceID
-
messageType
protected java.lang.String messageType
-
-
Method Detail
-
getSubscription
public Subscription getSubscription()
Gets the value of the subscription property.- Returns:
- possible object is
Subscription
-
setSubscription
public void setSubscription(Subscription value)
Sets the value of the subscription property.- Parameters:
value- allowed object isSubscription
-
getChannelID
public java.lang.String getChannelID()
Gets the value of the channelID property.- Returns:
- possible object is
String
-
setChannelID
public void setChannelID(java.lang.String value)
Sets the value of the channelID property.- Parameters:
value- allowed object isString
-
getDeviceID
public java.lang.String getDeviceID()
Gets the value of the deviceID property.- Returns:
- possible object is
String
-
setDeviceID
public void setDeviceID(java.lang.String value)
Sets the value of the deviceID property.- Parameters:
value- allowed object isString
-
getMessageType
public java.lang.String getMessageType()
Gets the value of the messageType property.- Returns:
- possible object is
String
-
setMessageType
public void setMessageType(java.lang.String value)
Sets the value of the messageType property.- Parameters:
value- allowed object isString
-
getOtherAttributes
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
-
withSubscription
public SubscriptionInfo withSubscription(Subscription value)
-
withChannelID
public SubscriptionInfo withChannelID(java.lang.String value)
-
withDeviceID
public SubscriptionInfo withDeviceID(java.lang.String value)
-
withMessageType
public SubscriptionInfo withMessageType(java.lang.String 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
-
-