Package com.vaadin.client.metadata
Class Property
- java.lang.Object
-
- com.vaadin.client.metadata.Property
-
public class Property extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Type
getBeanType()
String
getDelegateToWidgetMethodName()
String
getDisplayName()
Gets the property name formatted for displaying in a user interface.String
getLookupKey()
Gets the string that is internally used when looking up generated support code for this method.String
getName()
String
getSignature()
The unique signature used to identify this property.Type
getType()
Object
getValue(Object bean)
int
hashCode()
boolean
isNoLayout()
Checks whether this property is annotated withNoLayout
.void
setValue(Object bean, Object value)
String
toString()
-
-
-
Method Detail
-
getValue
public Object getValue(Object bean) throws NoDataException
- Throws:
NoDataException
-
setValue
public void setValue(Object bean, Object value) throws NoDataException
- Throws:
NoDataException
-
getDelegateToWidgetMethodName
public String getDelegateToWidgetMethodName()
-
getType
public Type getType() throws NoDataException
- Throws:
NoDataException
-
getBeanType
public Type getBeanType()
-
getSignature
public 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 String getLookupKey()
Gets the string that is internally used when looking up generated support code for this method. This is the same asgetSignature()
, but without any type parameters.- Returns:
- the string to use for looking up generated support code
- Since:
- 7.2
-
getName
public String getName()
-
getDisplayName
public 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 withNoLayout
.- Returns:
true
if this property has a NoLayout annotation; otherwisefalse
- Since:
- 7.4
-
-