com.google.gwt.autobean.shared.AutoBean<T> |
Known Indirect Subclasses |
A controller for an implementation of a bean interface. Instances of
AutoBeans are obtained from an AutoBeanFactory
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AutoBean.PropertyName | An annotation that allows inferred property names to be overridden. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Accept an AutoBeanVisitor.
| |||||||||||
Returns a proxy implementation of the
T interface which will
delegate to the underlying wrapped object, if any. | |||||||||||
Creates a copy of the AutoBean.
| |||||||||||
Returns the AutoBeanFactory that created the AutoBean.
| |||||||||||
Retrieve a tag value that was previously provided to
setTag(String, Object) . | |||||||||||
Returns the wrapped interface type.
| |||||||||||
Returns the value most recently passed to
setFrozen(boolean) , or
false if it has never been called. | |||||||||||
Returns
true if the AutoBean was provided with an external object. | |||||||||||
Disallows any method calls other than getters.
| |||||||||||
A tag is an arbitrary piece of external metadata to be associated with the
wrapped value.
| |||||||||||
If the AutoBean wraps an object, return the underlying object.
|
Accept an AutoBeanVisitor.
visitor | an AutoBeanVisitor
|
---|
Returns a proxy implementation of the T
interface which will
delegate to the underlying wrapped object, if any.
Creates a copy of the AutoBean.
If the AutoBean has tags, the tags will be copied into the cloned AutoBean.
If any of the tag values are AutoBeans, they will not be cloned, regardless
of the value of deep
.
deep | indicates if all referenced AutoBeans should be cloned |
---|
AutoBean
IllegalStateException | if the AutoBean is a wrapper type |
---|
Returns the AutoBeanFactory that created the AutoBean.
Retrieve a tag value that was previously provided to
setTag(String, Object)
.
tagName | the tag name |
---|
Returns the value most recently passed to setFrozen(boolean)
, or
false
if it has never been called.
true
if this instance is frozen
Returns true
if the AutoBean was provided with an external object.
true
if this instance is a wrapper
Disallows any method calls other than getters. All setter and call
operations will throw an IllegalStateException
.
frozen | if true , freeze this instance
|
---|
A tag is an arbitrary piece of external metadata to be associated with the wrapped value.
tagName | the tag name |
---|---|
value | the wrapped value |
If the AutoBean wraps an object, return the underlying object. The AutoBean will no longer function once unwrapped.
IllegalStateException | if the AutoBean is not a wrapper |
---|