com.bea.control
Annotation Type TaskBaseAnnotations.TaskSetProperties


@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface TaskBaseAnnotations.TaskSetProperties

Causes the method for this annotation to set the value of the given properties onto the task instance(s) for this control. The method attached to this annotation will take arguments that can be combined with annotation values to form the effective runtime property value. If the effective runtime value is assignment compatible with the value class of the data type for the property, it will be taken as the new property value. If not, and it is of type BusinessTime, and the property is of data type DateTimeDataType, the BusinessTime will be evaluated to yield an absolute Date, and the absolute Date will be set on the property. If the runtime value is not of either of these types, and it is of type String, it will be treated as a serialized default value for the data type, and deserialized to get the actual runtime value for the property. If this fails, or the original runtime value was not a String, then a DataTypeException is thrown at runtime. If the method declares it can throw DataTypeException, the exception will be thrown directly. Otherwise, it will be wrapped in an IllegalArgumentException and thrown that way.


Required Element Summary
 TaskBaseAnnotations.PropertyValue[] propertyValues
           
 

Element Detail

propertyValues

public abstract TaskBaseAnnotations.PropertyValue[] propertyValues