GWT 2.1.0

com.google.gwt.editor.client
Interface AutoBeanVisitor.PropertyContext

Enclosing class:
AutoBeanVisitor

public static interface AutoBeanVisitor.PropertyContext

Allows properties to be reset.


Method Summary
 boolean canSet()
          Indicates if the set(java.lang.Object) method will succeed.
 java.lang.Class<?> getElementType()
          If the reference property is a collection, returns the collection's element type.
 java.lang.Class<?> getType()
          Returns the expected type of the property.
 void set(java.lang.Object value)
          Sets a property value.
 

Method Detail

canSet

boolean canSet()
Indicates if the set(java.lang.Object) method will succeed.

Returns:
true if the property can be set

getElementType

java.lang.Class<?> getElementType()
If the reference property is a collection, returns the collection's element type.

Returns:
a Class object representing the element type or null if the property is not a collection type

getType

java.lang.Class<?> getType()
Returns the expected type of the property.

Returns:
a Class object representing the property type

set

void set(java.lang.Object value)
Sets a property value.

Parameters:
value - the new value

GWT 2.1.0