ariba.ui.meta.core
Class Meta.PropertyMerger_And
java.lang.Object
ariba.ui.meta.core.Meta.PropertyMerger_And
- All Implemented Interfaces:
- Meta.PropertyMerger, Meta.PropertyMergerDynamic, Meta.PropertyMergerIsChaining
- Enclosing class:
- Meta
public static class Meta.PropertyMerger_And
- extends Object
- implements Meta.PropertyMerger, Meta.PropertyMergerDynamic, Meta.PropertyMergerIsChaining
PropertyMerger implementing AND semantics -- i.e. false trumps true.
(Used, for instance, for the properties 'visible' and 'editable')
Meta.PropertyMerger_And
public Meta.PropertyMerger_And()
merge
public Object merge(Object orig,
Object override,
boolean isDeclare)
- Description copied from interface:
Meta.PropertyMerger
- Called during rule application to merge an earlier (lower ranked) value with a newer one.
- Specified by:
merge in interface Meta.PropertyMerger
- Parameters:
orig - the previous value accumulated in the property mapoverride - the new value from the higher ranked ruleisDeclare - whether we are currently accumulating matched for declarations of the property/value
- Returns:
- the new property value to be put in the property map
toString
public String toString()
- Overrides:
toString in class Object
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.