org.opcfoundation.ua.core
Class Annotation

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

public class Annotation
extends AbstractStructure


Field Summary
protected  DateTime AnnotationTime
           
static ExpandedNodeId BINARY
           
static ExpandedNodeId ID
           
protected  String Message
           
protected  String UserName
           
static ExpandedNodeId XML
           
 
Constructor Summary
Annotation()
           
Annotation(String Message, String UserName, DateTime AnnotationTime)
           
 
Method Summary
 Annotation clone()
          Deep clone
 boolean equals(Object obj)
           
 DateTime getAnnotationTime()
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 String getMessage()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 String getUserName()
           
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setAnnotationTime(DateTime AnnotationTime)
           
 void setMessage(String Message)
           
 void setUserName(String UserName)
           
 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

Message

protected String Message

UserName

protected String UserName

AnnotationTime

protected DateTime AnnotationTime
Constructor Detail

Annotation

public Annotation()

Annotation

public Annotation(String Message,
                  String UserName,
                  DateTime AnnotationTime)
Method Detail

getMessage

public String getMessage()

setMessage

public void setMessage(String Message)

getUserName

public String getUserName()

setUserName

public void setUserName(String UserName)

getAnnotationTime

public DateTime getAnnotationTime()

setAnnotationTime

public void setAnnotationTime(DateTime AnnotationTime)

clone

public Annotation clone()
Deep clone

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

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.