
org.iworkz.common.reflection.PropertyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of genesis Show documentation
Show all versions of genesis Show documentation
A simple dependency injection library
The newest version!
package org.iworkz.common.reflection;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class PropertyInfo {
private String name;
private Field field;
private Method readMethod;
private Method writeMethod;
private boolean collection;
private boolean map;
private boolean array;
private boolean immutable;
private boolean componentImmutable;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Method getReadMethod() {
return readMethod;
}
public void setReadMethod(Method readMethod) {
this.readMethod = readMethod;
}
public Method getWriteMethod() {
return writeMethod;
}
public void setWriteMethod(Method writeMethod) {
this.writeMethod = writeMethod;
}
public boolean isCollection() {
return collection;
}
public void setCollection(boolean collection) {
this.collection = collection;
}
public boolean isMap() {
return map;
}
public void setMap(boolean map) {
this.map = map;
}
public boolean isArray() {
return array;
}
public void setArray(boolean array) {
this.array = array;
}
public boolean isImmutable() {
return immutable;
}
public void setImmutable(boolean immutable) {
this.immutable = immutable;
}
public boolean isComponentImmutable() {
return componentImmutable;
}
public void setComponentImmutable(boolean componentImmutable) {
this.componentImmutable = componentImmutable;
}
public Field getField() {
return field;
}
public void setField(Field field) {
this.field = field;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy