org.opcfoundation.ua.core
Class ComplexNumberType

java.lang.Object
  extended by org.opcfoundation.ua.utils.AbstractStructure
      extended by org.opcfoundation.ua.core.ComplexNumberType
All Implemented Interfaces:
Cloneable, Structure, IEncodeable

public class ComplexNumberType
extends AbstractStructure


Field Summary
static ExpandedNodeId BINARY
           
static ExpandedNodeId ID
           
protected  Float Imaginary
           
protected  Float Real
           
static ExpandedNodeId XML
           
 
Constructor Summary
ComplexNumberType()
           
ComplexNumberType(Float Real, Float Imaginary)
           
 
Method Summary
 ComplexNumberType clone()
          Deep clone
 boolean equals(Object obj)
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 Float getImaginary()
           
 Float getReal()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setImaginary(Float Imaginary)
           
 void setReal(Float Real)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final ExpandedNodeId ID

BINARY

public static final ExpandedNodeId BINARY

XML

public static final ExpandedNodeId XML

Real

protected Float Real

Imaginary

protected Float Imaginary
Constructor Detail

ComplexNumberType

public ComplexNumberType()

ComplexNumberType

public ComplexNumberType(Float Real,
                         Float Imaginary)
Method Detail

getReal

public Float getReal()

setReal

public void setReal(Float Real)

getImaginary

public Float getImaginary()

setImaginary

public void setImaginary(Float Imaginary)

clone

public ComplexNumberType clone()
Deep clone

Specified by:
clone in interface Structure
Overrides:
clone in class AbstractStructure
Returns:
cloned ComplexNumberType

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeId

public ExpandedNodeId getTypeId()
Description copied from interface: Structure

getTypeId.

Returns:
a ExpandedNodeId object.

getXmlEncodeId

public ExpandedNodeId getXmlEncodeId()
Description copied from interface: Structure

getXmlEncodeId.

Returns:
a ExpandedNodeId object.

getBinaryEncodeId

public ExpandedNodeId getBinaryEncodeId()
Description copied from interface: Structure

getBinaryEncodeId.

Returns:
a ExpandedNodeId object.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.