:: com :: sun :: star :: beans ::
|
unpublished |
template struct Defaulted<T> |
|
|
|
- Usage Restrictions
- not published
- 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
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.