java.lang.Object
de.s42.base.beans.BeanProperty<BeanClass,PropertyClass>
- Typparameter:
BeanClass
-PropertyClass
-
- Autor:
- Benjamin Schiller
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected final PropertyDescriptor
protected final Field
protected final boolean
protected final boolean
protected final String
protected final boolean
protected final Class
<PropertyClass> protected final boolean
protected final boolean
protected final Method
protected final boolean
protected final Method
-
Konstruktorübersicht
KonstruktorBeschreibungBeanProperty
(String name, Class<PropertyClass> propertyClass, Method readMethod, Method writeMethod, Field field, List<Class> genericTypes, boolean own, PropertyDescriptor descriptor) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
canRead()
boolean
canWrite()
<AnnotationType extends Annotation>
Optional<AnnotationType> getAnnotation
(Class<? extends AnnotationType> annotationClass) getField()
getName()
boolean
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
isOwn()
boolean
boolean
boolean
boolean
boolean
<ReturnType>
ReturnTypetoString()
void
-
Felddetails
-
name
-
propertyClass
-
readMethod
-
writeMethod
-
field
-
genericTypes
-
own
protected final boolean own -
write
protected final boolean write -
read
protected final boolean read -
hasGenericTypes
protected final boolean hasGenericTypes -
publicField
protected final boolean publicField -
isTransient
protected final boolean isTransient -
descriptor
-
-
Konstruktordetails
-
BeanProperty
public BeanProperty(String name, Class<PropertyClass> propertyClass, Method readMethod, Method writeMethod, Field field, List<Class> genericTypes, boolean own, PropertyDescriptor descriptor)
-
-
Methodendetails
-
write
- Löst aus:
InvalidBean
-
read
- Löst aus:
InvalidBean
-
isAnnotationPresent
-
getAnnotation
public <AnnotationType extends Annotation> Optional<AnnotationType> getAnnotation(Class<? extends AnnotationType> annotationClass) -
isTransient
public boolean isTransient() -
isPublicField
public boolean isPublicField() -
isReadOnly
public boolean isReadOnly() -
canRead
public boolean canRead() -
isReadWrite
public boolean isReadWrite() -
isWriteOnly
public boolean isWriteOnly() -
canWrite
public boolean canWrite() -
isOwn
public boolean isOwn() -
hasGenericTypes
public boolean hasGenericTypes() -
getName
-
getReadMethod
-
getWriteMethod
-
getField
-
getGenericTypes
-
getDescriptor
-
getPropertyClass
-
toString
-