public abstract class Property extends Object implements Comparable<Property>
| Modifier | Constructor and Description |
|---|---|
protected |
Property(String name,
com.google.gwt.core.ext.typeinfo.JClassType beanType,
com.google.gwt.core.ext.typeinfo.JType propertyType) |
| Modifier and Type | Method and Description |
|---|---|
String |
boxValue(String codeSnippet) |
int |
compareTo(Property o) |
boolean |
equals(Object obj) |
abstract <T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
com.google.gwt.core.ext.typeinfo.JClassType |
getBeanType() |
String |
getName() |
com.google.gwt.core.ext.typeinfo.JType |
getPropertyType() |
String |
getUnboxedPropertyTypeName() |
abstract boolean |
hasAccessorMethods() |
int |
hashCode() |
String |
unboxValue(String codeSnippet) |
abstract void |
writeGetterBody(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
String beanVariable) |
abstract void |
writeSetterBody(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
String beanVariable,
String valueVariable) |
protected Property(String name, com.google.gwt.core.ext.typeinfo.JClassType beanType, com.google.gwt.core.ext.typeinfo.JType propertyType)
public String getName()
public com.google.gwt.core.ext.typeinfo.JType getPropertyType()
public String getUnboxedPropertyTypeName()
public com.google.gwt.core.ext.typeinfo.JClassType getBeanType()
public abstract void writeSetterBody(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
String beanVariable,
String valueVariable)
public abstract void writeGetterBody(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
String beanVariable)
public abstract boolean hasAccessorMethods()
public int compareTo(Property o)
compareTo in interface Comparable<Property>public abstract <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Copyright © 2018 Vaadin Ltd. All rights reserved.