java.lang.Object | |
↳ | com.google.gwt.autobean.shared.impl.AbstractAutoBean<T> |
Basic implementation.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractAutoBean.OneShotContext | Used to avoid cycles when visiting. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EMPTY_OBJECT | |||||||||||
values | Used by createSimplePeer() . |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that will use a generated simple peer.
| |||||||||||
Clone constructor.
| |||||||||||
Constructor that wraps an existing object.
|
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 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.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
No-op.
| |||||||||||
No-op.
| |||||||||||
No-op.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.autobean.shared.AutoBean |
Constructor that will use a generated simple peer.
Constructor that wraps an existing 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
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.
No-op. Used as a debugger hook point for generated code.
method | the method name |
---|---|
returned | the returned object |
parameters | the parameter list |
No-op. Used as a debugger hook point for generated code.
method | the method name |
---|---|
toReturn | the value to return |
No-op. Used as a debugger hook point for generated code.
method | the method name |
---|---|
value | the Object value to be set |