public class

EditorData

extends Object
java.lang.Object
   ↳ com.google.gwt.editor.rebind.model.EditorData

Class Overview

Describes how an Editor is related to bean properties. This type contains answers to questions asked by the generator code.

Summary

Nested Classes
class EditorData.Builder Used to construct EditorData objects. 
Public Methods
String getBeanOwnerExpression()
String getBeanOwnerGuard(String ownerExpression)
EditorData getComposedData()
String getDeclaredPath()
Gets the path specified by the @Path annotation or inferred via convention.
JClassType getEditedType()
JClassType getEditorType()
String getExpression()
Returns a complete expression to retrieve the editor.
String getGetterExpression()
Returns an expression, relative to an instance of the parent object being edited, to retrieve the value to pass into the editor.
String getPath()
Returns the complete path of the editor, relative to the root object.
String getPropertyName()
JClassType getPropertyOwnerType()
Mainly useful for nested properties where there may not be an editor for the enclosing instance (e.g.
String getSetterName()
String getSimpleExpression()
Returns an expression relative to the enclosing Editor to retrieve the editor.
boolean isCompositeEditor()
Indicates if the Editor is a {@link ComposedEditor .
boolean isDeclaredPathNested()
Returns true if the editor "reaches through" an interstitial property.
boolean isDelegateRequired()
Returns true if the editor requires an EditorDelegate.
boolean isLeafValueEditor()
Indicates if the Editor extends LeafValueEditor.
boolean isValueAwareEditor()
Indicates if the Editor extends ValueAwareEditor.
String toString()
For debugging use only.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getBeanOwnerExpression ()

public String getBeanOwnerGuard (String ownerExpression)

public EditorData getComposedData ()

public String getDeclaredPath ()

Gets the path specified by the @Path annotation or inferred via convention.

public JClassType getEditedType ()

public JClassType getEditorType ()

public String getExpression ()

Returns a complete expression to retrieve the editor.

public String getGetterExpression ()

Returns an expression, relative to an instance of the parent object being edited, to retrieve the value to pass into the editor.

public String getPath ()

Returns the complete path of the editor, relative to the root object.

public String getPropertyName ()

public JClassType getPropertyOwnerType ()

Mainly useful for nested properties where there may not be an editor for the enclosing instance (e.g. person.manager.name).

public String getSetterName ()

public String getSimpleExpression ()

Returns an expression relative to the enclosing Editor to retrieve the editor.

public boolean isCompositeEditor ()

Indicates if the Editor is a {@link ComposedEditor .

public boolean isDeclaredPathNested ()

Returns true if the editor "reaches through" an interstitial property.

public boolean isDelegateRequired ()

Returns true if the editor requires an EditorDelegate.

public boolean isLeafValueEditor ()

Indicates if the Editor extends LeafValueEditor.

public boolean isValueAwareEditor ()

Indicates if the Editor extends ValueAwareEditor.

public String toString ()

For debugging use only.