public interface Field extends Field
-
Method Summary
Modifier and Type Method Description void
setValue(Object value)
Changes the content of the field dynamically.Field
toReadOnly()
Methods inherited from interface omix.plugin.ovl.reflect.Field
connect, disconnect, getType, getValue, isPrivate, isProtected, isPublic
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
setValue
Changes the content of the field dynamically.- Parameters:
value
- the new value- Throws:
IllegalArgumentException
- if value does not matchField.getType()
IllegalAccessException
- if field is not accessible
-
toReadOnly
Field toReadOnly()
-