|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.swt.client.customization.QueryFieldsPropertyResolver
public class QueryFieldsPropertyResolver
A property resolver for properties with QueryFieldList values (in
other words, the value is a list rather than an "atomic" value).
This property resolver looks at each property provider that has a proposed
QueryFieldList value. The resolver will create a resolved value that
contains only those items that show up in every proposed value. In other
words, the resolved QueryFieldList value is the intersection of all
proposed QueryFieldList values.
| Constructor Summary | |
|---|---|
QueryFieldsPropertyResolver(Property property)
Constructs a property resolver for the specified property that has a QueryFieldList value. |
|
| Method Summary | |
|---|---|
void |
addPropertyProvider(PropertyProvider propertyProvider)
Adds an associated property provider to this resolver. |
protected Property |
getProperty()
Gets the property whose value this property resolver will set. |
protected java.util.List<PropertyProvider> |
getPropertyProviders()
Gets the list of property providers associated with this property resolver. |
java.lang.Object |
getPropertyValue(PropertyBag propertyBag)
Gets the resolved value of the property associated with this resolver. |
void |
removePropertyProvider(PropertyProvider propertyProvider)
Removes an associated property provider from this resolver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryFieldsPropertyResolver(Property property)
QueryFieldList value.
property - The property whose (QueryFieldList) value this property
resolver will set.| Method Detail |
|---|
public java.lang.Object getPropertyValue(PropertyBag propertyBag)
Gets the resolved value of the property associated with this resolver.
This property resolver looks at each property provider that has a proposed
QueryFieldList value. The resolver will create a resolved value
that contains only those items that show up in every proposed value. In
other words, the resolved QueryFieldList value is the intersection
of all proposed QueryFieldList values.
getPropertyValue in interface PropertyResolverpropertyBag - The property bag with the property whose value we want to
resolve.
public void addPropertyProvider(PropertyProvider propertyProvider)
Adds an associated property provider to this resolver.
When resolving the value of a property, a property resolver implementation may take into account the order in which property providers are added. For example, a property resolver implementation may have a rule that the last provider added that happens to want to set the property's value "wins".
addPropertyProvider in interface PropertyResolverpropertyProvider - The property provider to associate with this resolver.public void removePropertyProvider(PropertyProvider propertyProvider)
removePropertyProvider in interface PropertyResolverpropertyProvider - The property provider to associate with this resolver.protected Property getProperty()
protected java.util.List<PropertyProvider> getPropertyProviders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||