OSMQ
v2.0.1

osmq.util
Class ImmutableImpl

java.lang.Object
  extended byosmq.util.ImmutableImpl
All Implemented Interfaces:
java.lang.Cloneable, Immutable, java.io.Serializable
Direct Known Subclasses:
DataRecordBean, MessageBean, MessageHeader

public class ImmutableImpl
extends java.lang.Object
implements Immutable, java.lang.Cloneable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImmutableImpl()
           
 
Method Summary
 boolean isImmutable()
          Returns true if this is an immutable object.
 void setImmutable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableImpl

public ImmutableImpl()
Method Detail

isImmutable

public boolean isImmutable()
Returns true if this is an immutable object. The attributes and values of an immutable object cannot be changed, and attempts to modify them results in an ImmutableException being thrown.

Specified by:
isImmutable in interface Immutable

setImmutable

public void setImmutable()
Specified by:
setImmutable in interface Immutable

(c) 2000 - 2003 MQue Systems
All Rights Reserved