public class ChainedProperty extends Object implements PropertyInterface
Constructor and Description |
---|
ChainedProperty(PropertyInterface property1,
PropertyInterface property2) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
List<PropertyInterface> |
getChain() |
Class<?> |
getClazz() |
Class<?> |
getDeclaringClass() |
Class<?> |
getGenericClass() |
String |
getName() |
String |
getPath() |
Object |
getValue(Object object) |
boolean |
isAvailableFor(Object object) |
boolean |
isFinal() |
void |
setValue(Object object,
Object value) |
public ChainedProperty(PropertyInterface property1, PropertyInterface property2)
public boolean isAvailableFor(Object object)
public List<PropertyInterface> getChain()
public Class<?> getDeclaringClass()
getDeclaringClass
in interface PropertyInterface
public Object getValue(Object object)
getValue
in interface PropertyInterface
public void setValue(Object object, Object value)
setValue
in interface PropertyInterface
public String getName()
getName
in interface PropertyInterface
public String getPath()
getPath
in interface PropertyInterface
public Class<?> getGenericClass()
getGenericClass
in interface PropertyInterface
public Class<?> getClazz()
getClazz
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.