com.vaadin.server.widgetsetutils.metadata
Class Property
java.lang.Object
com.vaadin.server.widgetsetutils.metadata.Property
- Direct Known Subclasses:
- FieldProperty, MethodProperty
public abstract class Property
- extends java.lang.Object
|
Constructor Summary |
protected |
Property(java.lang.String name,
JClassType beanType,
JType propertyType)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Property
protected Property(java.lang.String name,
JClassType beanType,
JType propertyType)
getName
public java.lang.String getName()
getPropertyType
public JType getPropertyType()
getUnboxedPropertyTypeName
public java.lang.String getUnboxedPropertyTypeName()
boxValue
public java.lang.String boxValue(java.lang.String codeSnippet)
unboxValue
public java.lang.String unboxValue(java.lang.String codeSnippet)
getBeanType
public JClassType getBeanType()
writeSetterBody
public abstract void writeSetterBody(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
java.lang.String beanVariable,
java.lang.String valueVariable)
writeGetterBody
public abstract void writeGetterBody(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter w,
java.lang.String beanVariable)
hasAccessorMethods
public abstract boolean hasAccessorMethods()
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
getAnnotation
public abstract <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.