org.onetwo.common.utils.JFishProperty Maven / Gradle / Ivy
package org.onetwo.common.utils;
import java.beans.PropertyDescriptor;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import org.onetwo.common.annotation.AnnotationInfo;
import org.onetwo.common.reflect.Intro;
public interface JFishProperty {
public void setValue(Object entity, Object value);
public Class> getBeanClass();
public Intro> getBeanClassWrapper();
public String getName();
public boolean isTransientModifier();
public int getModifiers();
public Object getValue(Object entity);
public Class> getType();
public Intro> getTypeClassWrapper();
// public void addAnnotations(Annotation...annotations);
public boolean hasAnnotation(Class extends Annotation> annoClass);
public T getAnnotation(Class annoClass);
public AnnotationInfo getAnnotationInfo();
public PropertyDescriptor getPropertyDescriptor();
public Field getField();
public Type getGenericType();
public Type[] getParameterTypes();
public Type getFirstParameterType();
public Intro> getFirstParameterTypeClassWrapper();
public boolean isCollectionType();
public boolean isMapType();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy