net.dongliu.commons.reflect.StandaloneProperty Maven / Gradle / Ivy
package net.dongliu.commons.reflect;
/**
* The Property which read/written do not need object instance.
* Static field, or property bind to instance
*
* @author Liu Dong
*/
public interface StandaloneProperty {
String name();
Class> type();
boolean canRead();
boolean canWrite();
Object get();
void set(Object value);
byte getByte();
void setByte(byte value);
short getShort();
void setShort(short value);
int getInt();
void setInt(int value);
long getLong();
void setLong(long value);
double getDouble();
void setDouble(double value);
float getFloat();
void setFloat(float value);
boolean getBoolean();
void setBoolean(boolean value);
char getChar();
void setChar(char value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy