| Modifier and Type | Field and Description |
|---|---|
| protected T | |
| private List | |
| private PropertyDefinition | |
| private static final long | |
| protected T | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListener(RuntimeProperty.
Implements com. Add listener for this property changes. |
| protected void | checkRange(T
value val, String value represented by String valueAsString, ExceptionInterceptor exception interceptor exceptionInterceptor)For range-based property, checks that value fit into range given by PropertyDefinition. |
| public T | getInitialValue()
Implements com. Get initial value (default or defined in connection string/Properties) |
| public PropertyDefinition | |
| public String | getStringValue()
Implements com. Get internal value representation as String. |
| public T | getValue()
Implements com. Get internal value representation as Object. |
| public void | initializeFrom(Properties
Properties object containing key-value pairs usually passed from connection string.exceptionInterceptor exceptionInterceptor)Implements com. Explicitly set value of this RuntimeProperty according to the self-titled property value contained in extractFrom. |
| public void | initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor)
Implements com.
|
| protected void | |
| public boolean | |
| public void | |
| public void | resetValue()
Implements com. Reset to initial value (default or defined in connection string/Properties) |
| public void | setValue(T
value value)Implements com. Set the object value of a property directly. |
| public void | setValue(T
value value, ExceptionInterceptor exception interceptor exceptionInterceptor)Implements com. Set the object value of a property directly. |
| public void | setValueInternal(String
value value, ExceptionInterceptor exception interceptor exceptionInterceptor)Set the value of a property from a string value. |
| public void | setValueInternal(T
value value, String value represented by String valueAsString, ExceptionInterceptor exception interceptor exceptionInterceptor)Internal method for setting property value; ignoring the RUNTIME_NOT_MODIFIABLE flag. |
| initialValue | back to summary |
|---|---|
| protected T initialValue | |
| listeners | back to summary |
|---|---|
| private List<WeakReference<RuntimeProperty. | |
| propertyDefinition | back to summary |
|---|---|
| private PropertyDefinition<T> propertyDefinition | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| protected T value | |
| wasExplicitlySet | back to summary |
|---|---|
| protected boolean wasExplicitlySet | |
| AbstractRuntimeProperty | back to summary |
|---|---|
| public AbstractRuntimeProperty() | |
| AbstractRuntimeProperty | back to summary |
|---|---|
| protected AbstractRuntimeProperty(PropertyDefinition<T> propertyDefinition) | |
| addListener | back to summary |
|---|---|
| public void addListener(RuntimeProperty. Implements com. Doc from com. Add listener for this property changes.
| |
| checkRange | back to summary |
|---|---|
| protected void checkRange(T val, String valueAsString, ExceptionInterceptor exceptionInterceptor) For range-based property, checks that value fit into range given by PropertyDefinition.
| |
| getInitialValue | back to summary |
|---|---|
| public T getInitialValue() Implements com. Doc from com. Get initial value (default or defined in connection string/Properties)
| |
| getPropertyDefinition | back to summary |
|---|---|
| public PropertyDefinition Implements com.
| |
| getStringValue | back to summary |
|---|---|
| public String getStringValue() Implements com. Doc from com. Get internal value representation as String. | |
| getValue | back to summary |
|---|---|
| public T getValue() Implements com. Doc from com. Get internal value representation as Object.
| |
| initializeFrom | back to summary |
|---|---|
| public void initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor) Implements com. Doc from com. Explicitly set value of this RuntimeProperty according to the self-titled property value contained in extractFrom. This method is called during PropertySet initialization thus ignores the RUNTIME_NOT_MODIFIABLE flag.
This value will also be the initial one, i.e. If extractFrom does not contain such property then this RuntimeProperty remains unchanged.
| |
| initializeFrom | back to summary |
|---|---|
| public void initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor) Implements com.
| |
| invokeListeners | back to summary |
|---|---|
| protected void invokeListeners() | |
| isExplicitlySet | back to summary |
|---|---|
| public boolean isExplicitlySet() Implements com.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(RuntimeProperty. Implements com.
| |
| resetValue | back to summary |
|---|---|
| public void resetValue() Implements com. Doc from com. Reset to initial value (default or defined in connection string/Properties)
| |
| setValue | back to summary |
|---|---|
| public void setValue(T value) Implements com. Doc from com. Set the object value of a property directly. Validation against allowable values will be performed.
| |
| setValue | back to summary |
|---|---|
| public void setValue(T value, ExceptionInterceptor exceptionInterceptor) Implements com. Doc from com. Set the object value of a property directly. Validation against allowable values will be performed.
| |
| setValueInternal | back to summary |
|---|---|
| public void setValueInternal(String value, ExceptionInterceptor exceptionInterceptor) Set the value of a property from a string value.
It involves the
| |
| setValueInternal | back to summary |
|---|---|
| public void setValueInternal(T value, String valueAsString, ExceptionInterceptor exceptionInterceptor) Internal method for setting property value; ignoring the RUNTIME_NOT_MODIFIABLE flag.
| |