/* PropertyBinding.java Purpose: Description: History: Jul 26, 2011 3:48:41 PM, Created by henrichen Copyright (C) 2011 Potix Corporation. All Rights Reserved. */ package org.zkoss.bind.sys; import java.util.Map; import org.zkoss.bind.Converter; import org.zkoss.xel.ExpressionX; /** * A binding tells how to deal with Load or Save a field of a source object * (usually an UI component) and a property of a target object(usually a backing bean). * @author henrichen * @since 6.0.0 */ public interface PropertyBinding extends Binding { /** * Returns the associated _converter with this binding. * @return the associated _converter with this binding. */ public Converter getConverter(); /** * Returns the field name of the source object. * @return the field name of the source object. */ public String getFieldName(); /** * Returns the associated command name of this binding; null if not speicified. * @return the associated command name of this binding; null if not speicified. */ public String getCommandName(); /** * Returns the property expression script of this binding. * @return the property expression script of this binding. */ public String getPropertyString(); /** * Returns the condition type of this binding */ public ConditionType getConditionType(); /** * Returns an argument <tags, object> pairs map for converter. * @return an argument <tags, object> pairs map for converter. */ public Map<String, Object> getConverterArgs(); /** * @return the property expression of binding * @since 8.0.0 */ public ExpressionX getProperty(); }