public abstract class RelaySafeEnumerated extends Enumerated
|Constructor and Description|
The default constructor.
Construct with a long value.
|Modifier and Type||Method and Description|
Destroy the instance of the AbstractData.
Checks if the object is the result of decoding unknown enumerated value of extensible enumerated type.
For Serializable classes, the
clone, compareTo, equalTo, hashCode, indexOf, longValue, name
abstractEqualTo, equals, getTypeInfo, isEncodable, isPDU, isValid, toString, toString
public RelaySafeEnumerated(long value)
value- the long to set 'this' object to.
public final boolean isUnknownEnumerator()
public java.lang.Object readResolve() throws java.io.ObjectStreamException
readResolvemethod allows a class to replace/resolve the object read from the stream before it is returned to the caller. By implementing the
readResolvemethod, this class replaces its own instance being deserialized by the correspondent pre-existing enumerator. In the JDK 1.2
ObjectInputStreamchecks if the class of the object defines the
readResolvemethod. If the method is defined, the
readResolvemethod is called when
ObjectInputStreamhas read an object from the stream and is preparing to return it to the caller. To make it work under JDK 1.1, you have to subclass
ObjectInputStreamand call the
readResolvemethod explicitly from its
Copyright © 2017 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.