Modifier and Type | Required Element and Description |
---|---|
String |
name
Name of the property.
|
Class<?> |
type
Type of the property.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
array
Is this property an array of the
Property.type() or a single value? |
boolean |
mutable
Can the value of the property be mutated without restriction or not.
|
public abstract String name
public abstract boolean array
Property.type()
or a single value?
If the property is an array, only its getter (returning mutable List
of
the boxed Property.type()
) is generated.public abstract boolean mutable
Technology
.
Attempts to modify the object later yield IllegalStateException
.
Technologies may decide to represent such non-mutable
property in more effective way - for
example Knockout Java Bindings technology (with id
"ko4j")
uses plain JavaScript value (number, string, array, boolean) rather
than classical observable.Copyright © 2018 NetBeans. All rights reserved.