:: com :: sun :: star :: beans ::

template struct Defaulted<T>
Description
A value of a given type that can be defaulted.

This structure is used as the type of interface attributes corresponding to instances of Property that have the PropertyAttribute::MAYBEDEFAULT.


Elements' Summary
Value The underlying value of this structure instance.  
IsDefaulted Marks this structure instance as defaulted.  
Elements' Details
Value
T Value;
Description
The underlying value of this structure instance.

Even if this structure instance is defaulted, this member should contain a useful value. If there is no useful value for a defaulted structure instance, Optional can be used as the type of this member.

IsDefaulted
boolean IsDefaulted;
Description
Marks this structure instance as defaulted.
Top of Page