com.vaadin.client.metadata
Class Property

java.lang.Object
  extended by com.vaadin.client.metadata.Property

public class Property
extends java.lang.Object


Constructor Summary
Property(Type bean, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Type getBeanType()
           
 java.lang.String getDelegateToWidgetMethodName()
           
 java.lang.String getDisplayName()
          Gets the property name formatted for displaying in a user interface.
 java.lang.String getLookupKey()
          Gets the string that is internally used when looking up generated support code for this method.
 java.lang.String getName()
           
 java.lang.String getSignature()
          The unique signature used to identify this property.
 Type getType()
           
 java.lang.Object getValue(java.lang.Object bean)
           
 int hashCode()
           
 boolean isNoLayout()
          Checks whether this property is annotated with NoLayout.
 void setValue(java.lang.Object bean, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property(Type bean,
                java.lang.String name)
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object bean)
                          throws NoDataException
Throws:
NoDataException

setValue

public void setValue(java.lang.Object bean,
                     java.lang.Object value)
              throws NoDataException
Throws:
NoDataException

getDelegateToWidgetMethodName

public java.lang.String getDelegateToWidgetMethodName()

getType

public Type getType()
             throws NoDataException
Throws:
NoDataException

getBeanType

public Type getBeanType()

getSignature

public java.lang.String getSignature()
The unique signature used to identify this property. The structure of the returned string may change without notice and should not be used for any other purpose than identification. The signature is currently based on the declaring type's signature and the property's name.

Returns:
the unique signature of this property

getLookupKey

public java.lang.String getLookupKey()
Gets the string that is internally used when looking up generated support code for this method. This is the same as getSignature(), but without any type parameters.

Returns:
the string to use for looking up generated support code
Since:
7.2

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getName

public java.lang.String getName()

toString

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

getDisplayName

public java.lang.String getDisplayName()
Gets the property name formatted for displaying in a user interface. This returns a string where e.g. "camelCase" has been converted to "Camel case".

Returns:
the name of this property, formatted for humans to read

isNoLayout

public boolean isNoLayout()
Checks whether this property is annotated with NoLayout.

Returns:
true if this property has a NoLayout annotation; otherwise false
Since:
7.4


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.