|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.accessor.interestset.InterestSet
org.simantics.databoard.accessor.interestset.MapInterestSet
public class MapInterestSet
Interest set of a Map Type.
MapType
Field Summary | |
---|---|
InterestSet |
componentInterest
Interest in the contents of values (includes assignment notification and new values) |
java.util.Map<Variant,InterestSet> |
componentInterests
Interest in the contents of values by key (includes assignment notification and new values) |
boolean |
notification
Interested in the notifications of entry assignments, add and removal (excludes the value) |
Variant[] |
notifications
Interested in the notifications of entry assignments by key (excludes the value). |
boolean |
value
Interested in new values of entry assignments (includes notification, excludes composite changes) |
Variant[] |
values
Interested in new values of entry assignments by key (includes notification, excludes composite changes). |
Constructor Summary | |
---|---|
MapInterestSet()
|
|
MapInterestSet(boolean notification,
Variant[] notifications,
boolean value,
Variant[] values,
InterestSet componentInterest,
java.util.Map<Variant,InterestSet> componentInterests)
Create a map interest set |
Method Summary | |
---|---|
void |
addCompositeInterest(Variant key,
InterestSet cis)
Add key specific interest. |
InterestSet |
getComponentInterest()
Get the interest of component type of every value. |
InterestSet |
getComponentInterest(Variant key)
Get the interest of component type of entries of key . |
boolean |
inNotifications()
Returns true, if interested in notification of entry add, removal or replacement of container. |
boolean |
inNotificationsOf(Variant key)
Returns true, if interested in notification of entry add, removal or replacement of container of specific keys. |
boolean |
inValues()
Returns true, if interested in notifications and values of entry assignments. |
boolean |
inValuesOf(Variant key)
Returns true, if interested in notifications and values of entry assignments of key . |
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 |
---|
public boolean notification
public Variant[] notifications
public boolean value
public Variant[] values
public InterestSet componentInterest
public java.util.Map<Variant,InterestSet> componentInterests
Constructor Detail |
---|
public MapInterestSet()
public MapInterestSet(boolean notification, Variant[] notifications, boolean value, Variant[] values, InterestSet componentInterest, java.util.Map<Variant,InterestSet> componentInterests)
notification
- interested in add, remove and change notifications of entry assignmentsnotifications
- interested in add, remove and change to assignment of all specific entriesvalue
- interested in add, remove and change to assignment of all entries, incl. new valuesvalues
- interested in add, remove and change to assignment of all specific entries, incl. new valuescomponentInterest
- Interest of the changes of values and their sub-value changes of all entriescomponentInterests
- Interest of the changes of values and their sub-value changes of specific entriesMethod Detail |
---|
public boolean inNotifications()
inNotifications
in class InterestSet
public boolean inNotificationsOf(Variant key)
public boolean inValues()
inValues
in class InterestSet
public boolean inValuesOf(Variant key)
key
.
public InterestSet getComponentInterest()
null
public InterestSet getComponentInterest(Variant key)
key
.
null
public void addCompositeInterest(Variant key, InterestSet cis)
key
- cis
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |