public interface PropertyConfig
PropertyDescriptor but whereas a PropertyDescriptor follows strongly java
bean standard a PropertyConfig this implementation allows various "incompatible" settings and additionally
provides GraphTransformer specific information like available PropertyInterceptor.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of this property.
|
PropertyInterceptor<java.lang.Object,java.lang.Object> |
getReadInterceptor()
Returns a
PropertyInterceptor which gets applied for the read value of this property. |
java.lang.reflect.Method |
getReadMethod()
Returns the read method for that property.
|
java.lang.Class<?> |
getReadType()
Returns the read-value type.
|
PropertyInterceptor<java.lang.Object,java.lang.Object> |
getWriteInterceptor()
Returns a
PropertyInterceptor which gets applied for the write value of this property. |
java.lang.reflect.Method |
getWriteMethod()
Returns the write method for that property.
|
java.lang.Class<?> |
getWriteType()
Returns the write-value type
Type is either return type of write-method or if an interceptor is assigned the return type of
PropertyInterceptor.intercept(PropertyContext, Object) |
boolean |
isReadTypeCheckEnabled()
True (default) when enabling type check which assures during build-time of graph, that this read-type can be
assigned to a target property write type (not this property write type)
Example: read-type: NUMBER; target write-type INTEGER:
With enabled type check (default) this property will skipped and not processed during graph processing. |
boolean |
isWriteTypeCheckEnabled()
True (default) when checking whether write-type is assignable from a source read-type.
|
java.lang.String getName()
java.lang.reflect.Method getReadMethod()
java.lang.reflect.Method getWriteMethod()
PropertyInterceptor<java.lang.Object,java.lang.Object> getReadInterceptor()
PropertyInterceptor which gets applied for the read value of this property.PropertyInterceptorPropertyInterceptor<java.lang.Object,java.lang.Object> getWriteInterceptor()
PropertyInterceptor which gets applied for the write value of this property.PropertyInterceptorjava.lang.Class<?> getReadType()
PropertyInterceptor.intercept(PropertyContext, Object)java.lang.Class<?> getWriteType()
PropertyInterceptor.intercept(PropertyContext, Object)boolean isReadTypeCheckEnabled()
boolean isWriteTypeCheckEnabled()
Copyright © 2018 SAP SE. All Rights Reserved.