@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface AbstractDBObjectBuilder.PropertyBuilder
Build methods can throw DBException and this will be propogate through the framework appropriately - the properties will still be marked as built even though the build failed. The exception to this rule is when a specific CancelledException is thrown - this indicates that the build has been cancelled, and the properties will not be marked as built. A builder method can also throw an InterruptedException and that will be treated as a CancelledException.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
A list of properties on this object (bean or extended) that this method
builds.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
depends
A list of properties on this object (bean or extended) that need to be
built before the properties this method will build.
|
boolean |
derived
Whether the property or properties built by this method are derived
from the list returned by
value() . |
public abstract java.lang.String[] value
public abstract java.lang.String[] depends
public abstract boolean derived
value()
.