com.google.gwt.uibinder.rebind.model
Class OwnerField

java.lang.Object
  extended by com.google.gwt.uibinder.rebind.model.OwnerField

public class OwnerField
extends java.lang.Object

Descriptor for a field of the owner class.

Please notice that some fields defined in the XML and in the generated binder class may not be present in the owner class - for instance, they may not be relevant to the code of the owner class. The fields in the binder class are instead represented by an instance of FieldWriter.


Constructor Summary
OwnerField(JField field, MortalLogger logger)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Returns the name of the field in the owner class.
 OwnerFieldClass getType()
          Returns a descriptor for the type of the field.
 boolean isProvided()
          Returns whether this field's value is provided by owner class.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwnerField

public OwnerField(JField field,
                  MortalLogger logger)
           throws UnableToCompleteException
Constructor.

Parameters:
field - the field of the owner class
logger -
Throws:
UnableToCompleteException
Method Detail

getName

public java.lang.String getName()
Returns the name of the field in the owner class.


getType

public OwnerFieldClass getType()
Returns a descriptor for the type of the field.


isProvided

public boolean isProvided()
Returns whether this field's value is provided by owner class. If it's not provided, then it's the binder's responsibility to assign it.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object