B - The bean typeP - The property type@Internal public abstract class AbstractBeanProperty<B,P> extends Object implements BeanProperty<B,P>
BeanProperty. Generated byte code should be used to create a subclass
 and implement the BeanProperty.get(Object) and BeanProperty.set(Object, Object) methods. This class is subclasses at compilation time by generated byte code and should not be used directly.CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractBeanProperty(BeanIntrospection<B> introspection,
                    Class<P> type,
                    String name,
                    AnnotationMetadata annotationMetadata,
                    Argument[] typeArguments)
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Argument<P> | 
asArgument()
Represent the type as an argument, including any generic type information. 
 | 
boolean | 
equals(Object o)  | 
P | 
get(B bean)
Read the bean value. 
 | 
AnnotationMetadata | 
getAnnotationMetadata()
Supplies the metadata. 
 | 
BeanIntrospection<B> | 
getDeclaringBean()  | 
String | 
getName()  | 
Class<P> | 
getType()  | 
int | 
hashCode()  | 
protected abstract P | 
readInternal(B bean)
Reads the bean property. 
 | 
void | 
set(B bean,
   P value)
Write the bean value. 
 | 
String | 
toString()  | 
protected abstract void | 
writeInternal(B bean,
             P value)
Writes a property value. 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitconvertAndSet, get, get, get, get, getDeclaringType, isReadOnly, isReadWrite, isWriteOnlyisDeclaredNullable, isNullablebooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypehasSimpleAnnotation, hasSimpleDeclaredAnnotation@Internal protected AbstractBeanProperty(@Nonnull BeanIntrospection<B> introspection, @Nonnull Class<P> type, @Nonnull String name, @Nullable AnnotationMetadata annotationMetadata, @Nullable Argument[] typeArguments)
introspection - The parent introspectiontype - The property typename - The property nameannotationMetadata - The annotation metadatatypeArguments - optional type arguments@Nonnull public Class<P> getType()
getType in interface BeanProperty<B,P>public Argument<P> asArgument()
BeanPropertyasArgument in interface BeanProperty<B,P>@Nonnull public BeanIntrospection<B> getDeclaringBean()
getDeclaringBean in interface BeanProperty<B,P>public AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadata@Nullable public final P get(@Nonnull B bean)
BeanPropertyget in interface BeanProperty<B,P>bean - The bean to read frompublic final void set(@Nonnull B bean, @Nullable P value)
BeanPropertyset in interface BeanProperty<B,P>bean - The beanvalue - The value to write@Internal protected abstract void writeInternal(@Nonnull B bean, @Nullable P value)
bean - The beanvalue - The value@Internal protected abstract P readInternal(@Nonnull B bean)
bean - The bean