org.opcfoundation.ua.core
Class ServerStatusDataType

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

public class ServerStatusDataType
extends AbstractStructure


Field Summary
static ExpandedNodeId BINARY
           
protected  BuildInfo BuildInfo
           
protected  DateTime CurrentTime
           
static ExpandedNodeId ID
           
protected  UnsignedInteger SecondsTillShutdown
           
protected  LocalizedText ShutdownReason
           
protected  DateTime StartTime
           
protected  ServerState State
           
static ExpandedNodeId XML
           
 
Constructor Summary
ServerStatusDataType()
           
ServerStatusDataType(DateTime StartTime, DateTime CurrentTime, ServerState State, BuildInfo BuildInfo, UnsignedInteger SecondsTillShutdown, LocalizedText ShutdownReason)
           
 
Method Summary
 ServerStatusDataType clone()
          Deep clone
 boolean equals(Object obj)
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 BuildInfo getBuildInfo()
           
 DateTime getCurrentTime()
           
 UnsignedInteger getSecondsTillShutdown()
           
 LocalizedText getShutdownReason()
           
 DateTime getStartTime()
           
 ServerState getState()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setBuildInfo(BuildInfo BuildInfo)
           
 void setCurrentTime(DateTime CurrentTime)
           
 void setSecondsTillShutdown(UnsignedInteger SecondsTillShutdown)
           
 void setShutdownReason(LocalizedText ShutdownReason)
           
 void setStartTime(DateTime StartTime)
           
 void setState(ServerState State)
           
 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

StartTime

protected DateTime StartTime

CurrentTime

protected DateTime CurrentTime

State

protected ServerState State

BuildInfo

protected BuildInfo BuildInfo

SecondsTillShutdown

protected UnsignedInteger SecondsTillShutdown

ShutdownReason

protected LocalizedText ShutdownReason
Constructor Detail

ServerStatusDataType

public ServerStatusDataType()

ServerStatusDataType

public ServerStatusDataType(DateTime StartTime,
                            DateTime CurrentTime,
                            ServerState State,
                            BuildInfo BuildInfo,
                            UnsignedInteger SecondsTillShutdown,
                            LocalizedText ShutdownReason)
Method Detail

getStartTime

public DateTime getStartTime()

setStartTime

public void setStartTime(DateTime StartTime)

getCurrentTime

public DateTime getCurrentTime()

setCurrentTime

public void setCurrentTime(DateTime CurrentTime)

getState

public ServerState getState()

setState

public void setState(ServerState State)

getBuildInfo

public BuildInfo getBuildInfo()

setBuildInfo

public void setBuildInfo(BuildInfo BuildInfo)

getSecondsTillShutdown

public UnsignedInteger getSecondsTillShutdown()

setSecondsTillShutdown

public void setSecondsTillShutdown(UnsignedInteger SecondsTillShutdown)

getShutdownReason

public LocalizedText getShutdownReason()

setShutdownReason

public void setShutdownReason(LocalizedText ShutdownReason)

clone

public ServerStatusDataType clone()
Deep clone

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

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.