@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface References
Modifier and Type | Optional Element and Description |
---|---|
CascadeAction |
cascade
Defines the behaviour when cascade is being performed and the object
being referenced is deleted.
|
boolean |
internal
If true, this indicates that the object being referenced is internal to
the owning SystemObject.
|
java.lang.String[] |
types
Gets any restriction on the types of object that can be referenced
by this property's ID.
|
java.lang.Class<? extends DBObject> |
value
Gets the expected class of object that resolving the ID will give.
|
public abstract java.lang.Class<? extends DBObject> value
public abstract java.lang.String[] types
value()
so the types listed here
should be a subset of the types of known subclasses of the value class.
For example, if value returned SystemObject.class this could return
{Sequence.TYPE, Synonym.TYPE} to show that only sequences and synonyms
can be referenced.
By default an empty array is returned which signifies no additional filtering over the value class.
public abstract boolean internal
public abstract CascadeAction cascade