com.vaadin.client.metadata
Class Property
java.lang.Object
com.vaadin.client.metadata.Property
public class Property
- extends java.lang.Object
|
Constructor Summary |
Property(Type bean,
java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Property
public Property(Type bean,
java.lang.String name)
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
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.