public class ObjectArrayEventBeanPropertyWriter extends Object implements EventPropertyWriterSPI
Modifier and Type | Field and Description |
---|---|
protected int |
index |
Constructor and Description |
---|
ObjectArrayEventBeanPropertyWriter(int index) |
Modifier and Type | Method and Description |
---|---|
void |
write(Object value,
EventBean target)
Value to write to a property.
|
void |
write(Object value,
Object[] array) |
CodegenExpression |
writeCodegen(CodegenExpression assigned,
CodegenExpression und,
CodegenExpression target,
CodegenMethodScope parent,
CodegenClassScope classScope) |
public ObjectArrayEventBeanPropertyWriter(int index)
public void write(Object value, EventBean target)
EventPropertyWriter
write
in interface EventPropertyWriter
value
- value to writetarget
- property to write topublic CodegenExpression writeCodegen(CodegenExpression assigned, CodegenExpression und, CodegenExpression target, CodegenMethodScope parent, CodegenClassScope classScope)
writeCodegen
in interface EventPropertyWriterSPI
Copyright © 2005–2018. All rights reserved.