org.simantics.databoard.accessor.interestset
Class ByteInterestSet

java.lang.Object
  extended by org.simantics.databoard.accessor.interestset.InterestSet
      extended by org.simantics.databoard.accessor.interestset.ByteInterestSet

public class ByteInterestSet
extends InterestSet

Interest set of a Byte Type.

Author:
Toni Kalajainen
See Also:
ByteType

Field Summary
static ByteInterestSet MONITOR_EVERYTHING
           
 boolean notification
          Interested in the notification (excludes the value)
 boolean value
          Interested in the value (includes notification)
 
Constructor Summary
ByteInterestSet(boolean notification, boolean value)
           
 
Method Summary
 boolean inNotifications()
          Returns true, if interested in notifications.
 boolean inValues()
          Returns true, if interested in the value
 
Methods inherited from class org.simantics.databoard.accessor.interestset.InterestSet
newInterestSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MONITOR_EVERYTHING

public static final ByteInterestSet MONITOR_EVERYTHING

notification

public boolean notification
Interested in the notification (excludes the value)


value

public boolean value
Interested in the value (includes notification)

Constructor Detail

ByteInterestSet

public ByteInterestSet(boolean notification,
                       boolean value)
Method Detail

inNotifications

public boolean inNotifications()
Returns true, if interested in notifications. The result does not include interest in new value.

Specified by:
inNotifications in class InterestSet
Returns:
interested in notifications

inValues

public boolean inValues()
Returns true, if interested in the value

Specified by:
inValues in class InterestSet
Returns:
interested in the value