Class Property
- java.lang.Object
-
- com.vaadin.server.widgetsetutils.metadata.Property
-
- All Implemented Interfaces:
Comparable<Property>
- Direct Known Subclasses:
FieldProperty,MethodProperty
public abstract class Property extends Object implements Comparable<Property>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringboxValue(String codeSnippet)intcompareTo(Property o)booleanequals(Object obj)abstract <T extends Annotation>
TgetAnnotation(Class<T> annotationClass)com.google.gwt.core.ext.typeinfo.JClassTypegetBeanType()StringgetName()com.google.gwt.core.ext.typeinfo.JTypegetPropertyType()StringgetUnboxedPropertyTypeName()abstract booleanhasAccessorMethods()inthashCode()StringunboxValue(String codeSnippet)abstract voidwriteGetterBody(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, String beanVariable)abstract voidwriteSetterBody(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, String beanVariable, String valueVariable)
-
-
-
Constructor Detail
-
Property
protected Property(String name, com.google.gwt.core.ext.typeinfo.JClassType beanType, com.google.gwt.core.ext.typeinfo.JType propertyType)
-
-
Method Detail
-
getName
public String getName()
-
getPropertyType
public com.google.gwt.core.ext.typeinfo.JType getPropertyType()
-
getUnboxedPropertyTypeName
public String getUnboxedPropertyTypeName()
-
getBeanType
public com.google.gwt.core.ext.typeinfo.JClassType getBeanType()
-
writeSetterBody
public abstract void writeSetterBody(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, String beanVariable, String valueVariable)
-
writeGetterBody
public abstract void writeGetterBody(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, String beanVariable)
-
hasAccessorMethods
public abstract boolean hasAccessorMethods()
-
compareTo
public int compareTo(Property o)
- Specified by:
compareToin interfaceComparable<Property>
-
getAnnotation
public abstract <T extends Annotation> T getAnnotation(Class<T> annotationClass)
-
-