equip.runtime
Class ValueBase

java.lang.Object
  extended byequip.runtime.Object
      extended byequip.runtime.ValueBase
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Ack, BooleanArray2DBox, BooleanArrayBox, BooleanBox, ByteArray2DBox, ByteArrayBox, ByteBox, CharArray2DBox, CharArrayBox, CharBox, ConfigManager, ConnectionSapRequest, ConnectionSapResponse, DataCallback, DataSession, DataspaceStatus, DeactivateCallback, Dictionary, DictionaryEntry, DiscoveryClientAgent, DiscoveryEventListener, DiscoveryRequest, DiscoveryServerAgent, DoubleArray2DBox, DoubleArrayBox, DoubleBox, Event, EventMetadata, FloatArray2DBox, FloatArrayBox, FloatBox, GUID, GUIDFactory, IntArray2DBox, IntArrayBox, IntBox, ItemBinding, ItemBindingInfo, ItemData, ItemEventKindBox, ItemMutator, KeepAlive, Lease, LongArray2DBox, LongArrayBox, LongBox, Moniker, NameValuePair, PeerAckData, Position, SerializedObject, ServerAnnouncement, ServerDiscoveryInfo, ServiceProxy, ShortArray2DBox, ShortArrayBox, ShortBox, StringArray2DBox, StringArrayBox, StringBox, Time, TraderLookup, TraderRebindReply, TraderRecord, ValueBaseArrayBox

public class ValueBase
extends Object
implements java.lang.Cloneable

EQUIP IDL top class, comparable to equip.lang.Object, providing the abstract API for serialisation, equality, and pattern matching (and type-safe downcasting in C++).


Constructor Summary
ValueBase()
           
 
Method Summary
 boolean _equals_helper(ValueBase c)
          Internal IDL-generated equality test helper
 boolean _matches_helper(ValueBase c)
          Internal IDL-generated match test helper
 java.lang.Object clone()
          Return a clone of this object; just calls Object.clone()
 boolean equals(java.lang.Object c)
          Standard IDL-generated equality test.
 boolean matches(java.lang.Object c)
          Standard IDL-generated template match test.
 void readObject(ObjectInputStream in)
          Internal serialisation helper.
 void writeObject(ObjectOutputStream out)
          Internal serialisation helper.
 
Methods inherited from class equip.runtime.Object
getModuleName
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueBase

public ValueBase()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Return a clone of this object; just calls Object.clone()

Throws:
java.lang.CloneNotSupportedException

readObject

public void readObject(ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException,
                       java.lang.InstantiationException
Internal serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException

writeObject

public void writeObject(ObjectOutputStream out)
                 throws java.io.IOException
Internal serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object c)
Standard IDL-generated equality test.

Parameters:
c - The object to be compared against this.
Returns:
true if this is equal to c

_equals_helper

public boolean _equals_helper(ValueBase c)
Internal IDL-generated equality test helper


matches

public boolean matches(java.lang.Object c)
Standard IDL-generated template match test.

Parameters:
c - The object to be checked against this template.
Returns:
true if this (as a template) matches the argument

_matches_helper

public boolean _matches_helper(ValueBase c)
Internal IDL-generated match test helper