Class PropertyRegistry.PropertyDescriptor
- java.lang.Object
-
- edu.caltech.nanodb.server.properties.PropertyRegistry.PropertyDescriptor
-
- Enclosing class:
- PropertyRegistry
private class PropertyRegistry.PropertyDescriptor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
name
The name of the property.(package private) boolean
readonly
A flag indicating whether the property is read-only or read-write.(package private) PropertyValidator
validator
A validator to ensure the property's values are correct.(package private) java.lang.Object
value
The current value of the property.
-
Constructor Summary
Constructors Constructor Description PropertyDescriptor(java.lang.String name, PropertyValidator validator, java.lang.Object initialValue, boolean readonly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
void
setValue(java.lang.Object newValue)
-
-
-
Field Detail
-
name
java.lang.String name
The name of the property.
-
value
java.lang.Object value
The current value of the property.
-
readonly
boolean readonly
A flag indicating whether the property is read-only or read-write.
-
validator
PropertyValidator validator
A validator to ensure the property's values are correct.
-
-
Constructor Detail
-
PropertyDescriptor
PropertyDescriptor(java.lang.String name, PropertyValidator validator, java.lang.Object initialValue, boolean readonly)
-
-