edu.jhu.tmaj.beans.masks.meta
Class ActionMaskInfo

java.lang.Object
  extended by edu.jhu.tmaj.beans.masks.meta.ActionMaskInfo
All Implemented Interfaces:
java.io.Serializable

public final class ActionMaskInfo
extends java.lang.Object
implements java.io.Serializable

Represents a Mask Action. Image a list of this class in order, then one of those lines is representing by this class. One of those lines represents an addition or subtraction. We can also either add or subtract either the mask, or the inverse of a mask. Thie class actually represents one row on the JTable in the MetaMaskGui. As said before, a meta-mask is a mask of masks. This class represents a mask, whether or not the mask is or'ed or and'ed, and finally, whether we or/and the inverse of the mask, or the mask itself.

See Also:
Serialized Form

Field Summary
 boolean isAnded
           
 boolean isInverted
           
 int orderNumber
           
 Mask referencedMask
           
 
Constructor Summary
ActionMaskInfo(Mask referencedMask, boolean isAnded, boolean isInverted, int orderNumber)
           
 
Method Summary
 java.lang.Integer getID()
           
 void setID(java.lang.Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

referencedMask

public final Mask referencedMask

isAnded

public final boolean isAnded

isInverted

public final boolean isInverted

orderNumber

public final int orderNumber
Constructor Detail

ActionMaskInfo

public ActionMaskInfo(Mask referencedMask,
                      boolean isAnded,
                      boolean isInverted,
                      int orderNumber)
Method Detail

getID

public java.lang.Integer getID()

setID

public void setID(java.lang.Integer id)