public class CompleteCompanionDeviceType
extends java.lang.Object
implements java.io.Externalizable, java.io.Serializable
Java class for completeCompanionDeviceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="completeCompanionDeviceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="companion-device" type="{http://metaswitch.com/XMLSchema/tas}companionDeviceType" minOccurs="0"/> <element name="operator-companion-device" type="{http://metaswitch.com/XMLSchema/tas}operatorCompanionDeviceType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected CompanionDeviceType |
companionDevice |
protected OperatorCompanionDeviceType |
operatorCompanionDevice |
Constructor and Description |
---|
CompleteCompanionDeviceType()
Default Constructor.
|
CompleteCompanionDeviceType(java.io.DataInput in,
java.lang.ClassLoader cl)
FastSerializable constructor used to deserialize object from stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
append(ObjectLocator locator,
java.lang.StringBuilder buffer,
ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(ObjectLocator locator,
java.lang.StringBuilder buffer,
ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(ObjectLocator thisLocator,
ObjectLocator thatLocator,
java.lang.Object object,
EqualsStrategy strategy) |
CompanionDeviceType |
getCompanionDevice()
Gets the value of the companionDevice property.
|
OperatorCompanionDeviceType |
getOperatorCompanionDevice()
Gets the value of the operatorCompanionDevice property.
|
int |
hashCode() |
int |
hashCode(ObjectLocator locator,
HashCodeStrategy strategy) |
void |
initialise(java.io.DataInput in,
java.lang.ClassLoader cl)
Initialise fields from input stream using fast serializable.
|
boolean |
isSetCompanionDevice() |
boolean |
isSetOperatorCompanionDevice() |
void |
readExternal(java.io.ObjectInput in)
Externalizable.readExternal(ObjectInput) implementation to initialise
from input stream using fast serializable. |
void |
setCompanionDevice(CompanionDeviceType value)
Sets the value of the companionDevice property.
|
void |
setOperatorCompanionDevice(OperatorCompanionDeviceType value)
Sets the value of the operatorCompanionDevice property.
|
void |
toStream(java.io.DataOutput out) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out)
Externalizable.writeExternal(ObjectOutput) implementation to write fields
to output stream.Output stream not null . |
protected CompanionDeviceType companionDevice
protected OperatorCompanionDeviceType operatorCompanionDevice
public CompleteCompanionDeviceType()
public CompleteCompanionDeviceType(java.io.DataInput in, java.lang.ClassLoader cl) throws java.io.IOException
in
- the input data stream not null
.cl
- the class loader not null
.java.io.IOException
- on error reading input stream.public CompanionDeviceType getCompanionDevice()
CompanionDeviceType
public void setCompanionDevice(CompanionDeviceType value)
value
- allowed object is
CompanionDeviceType
public boolean isSetCompanionDevice()
public OperatorCompanionDeviceType getOperatorCompanionDevice()
OperatorCompanionDeviceType
public void setOperatorCompanionDevice(OperatorCompanionDeviceType value)
value
- allowed object is
OperatorCompanionDeviceType
public boolean isSetOperatorCompanionDevice()
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, java.lang.Object object, EqualsStrategy strategy)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.StringBuilder append(ObjectLocator locator, java.lang.StringBuilder buffer, ToStringStrategy strategy)
public java.lang.StringBuilder appendFields(ObjectLocator locator, java.lang.StringBuilder buffer, ToStringStrategy strategy)
public void initialise(java.io.DataInput in, java.lang.ClassLoader cl) throws java.io.IOException
null
and must have been serialized previously by
toStream(DataOutput)
..in
- the input data stream not null
.cl
- the class loader not null
.java.io.IOException
- on error reading input stream.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Externalizable.readExternal(ObjectInput)
implementation to initialise
from input stream using fast serializable.
Input stream not null
and must have been serialized previously by
writeExternal(ObjectOutput)
.readExternal
in interface java.io.Externalizable
in
- the input data stream not null
.java.io.IOException
- on error reading input stream.java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
Externalizable.writeExternal(ObjectOutput)
implementation to write fields
to output stream.Output stream not null
.writeExternal
in interface java.io.Externalizable
out
- the output data stream not null
.java.io.IOException
- on error writing input stream.public void toStream(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
Copyright © OpenCloud. All Rights Reserved.