clarion.acs.wm
Class WMItem

java.lang.Object
  extended byclarion.acs.wm.WMItem

public class WMItem
extends java.lang.Object


Field Summary
protected  Chunk chunk
          the chunk stored in this slot.
protected  boolean flag
          indicates if it is a flag item.
 
Constructor Summary
WMItem(boolean flag, Chunk chunk)
          concstructor.
 
Method Summary
 java.lang.Object clone()
          methods from class Object
 Chunk getChunk()
          Returns the chunk storeed.
 boolean isFlagItem()
          Returns if it is a flag item.
 void setChunk(Chunk chunk)
          Sets chunk into this slot.
 void setFlag(boolean val)
          Sets the flag indicating it is a flag item or not.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flag

protected boolean flag
indicates if it is a flag item.


chunk

protected Chunk chunk
the chunk stored in this slot.

Constructor Detail

WMItem

public WMItem(boolean flag,
              Chunk chunk)
concstructor.

Parameters:
flag - the flag indicates it is a flag item or not.
chunk - the chunk to store into this slot.
Method Detail

isFlagItem

public boolean isFlagItem()
Returns if it is a flag item.


getChunk

public Chunk getChunk()
Returns the chunk storeed.


setFlag

public void setFlag(boolean val)
Sets the flag indicating it is a flag item or not.


setChunk

public void setChunk(Chunk chunk)
Sets chunk into this slot.

Parameters:
chunk - the chunk to store into this slot.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
methods from class Object

Throws:
java.lang.CloneNotSupportedException