/** * Sets the type of property. * * @param key * of property * @param val * property value */ public void set(String key, Object val) { set(key, val, ValueTypes.VALUE_TYPE_NONE); }
/** * Constructs a Property objects with the specified properties. * * @param key * key of property * @param value * value for property * @param transient_ * flag indicating whether property is transient */ public Property(String key, Object value, boolean transient_) { set(key, value); this.transient_ = transient_; }
/** * Constructs a Property objects with the specified properties. * * @param key * key of property * @param value * value for property * @param valType * value type such as (currency, percent) * @param transient_ * flag indicating whether property is transient */ public Property(String key, Object value, String valType, boolean transient_) { set(key, value, valType); this.transient_ = transient_; }