public abstract class VirtualProperty extends Object implements PropertyInterface
This can be helpful if you want to edit a single property with two form fields.
This class could be removed by adding default methods to the PropertyInterface. This is not done on purpose as it would pollute the interface and suggest 'virtual' as the default implementation of a property (which it is not).
Constructor and Description |
---|
VirtualProperty() |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Class<?> |
getDeclaringClass() |
Class<?> |
getGenericClass() |
String |
getPath() |
boolean |
isFinal() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClazz, getName, getValue, setValue
public Class<?> getDeclaringClass()
getDeclaringClass
in interface PropertyInterface
public String getPath()
getPath
in interface PropertyInterface
public Class<?> getGenericClass()
getGenericClass
in interface PropertyInterface
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface PropertyInterface
public boolean isFinal()
isFinal
in interface PropertyInterface
Copyright © 2019. All rights reserved.