T - the type parameterpublic class JavetEntityPropertyDescriptor<T> extends java.lang.Object implements IJavetEntityPropertyDescriptor<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
configurable
The Configurable.
|
protected boolean |
enumerable
The Enumerable.
|
protected T |
value
The Value.
|
protected boolean |
writable
The Writable.
|
PROXY_PROPERTY_CONFIGURABLE, PROXY_PROPERTY_ENUMERABLE, PROXY_PROPERTY_VALUE, PROXY_PROPERTY_WRITABLE| Constructor and Description |
|---|
JavetEntityPropertyDescriptor(boolean configurable,
boolean enumerable,
boolean writable)
Instantiates a new Javet entity property descriptor.
|
JavetEntityPropertyDescriptor(boolean configurable,
boolean enumerable,
boolean writable,
T value)
Instantiates a new Javet entity property descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Gets value.
|
boolean |
isConfigurable()
Is configurable.
|
boolean |
isEnumerable()
Is enumerable.
|
boolean |
isWritable()
Is writable.
|
void |
setConfigurable(boolean configurable)
Sets configurable.
|
void |
setEnumerable(boolean enumerable)
Sets enumerable.
|
void |
setValue(T value)
Sets value.
|
void |
setWritable(boolean writable)
Sets writable.
|
protected boolean configurable
protected boolean enumerable
protected T value
protected boolean writable
public JavetEntityPropertyDescriptor(boolean configurable,
boolean enumerable,
boolean writable)
configurable - the configurableenumerable - the enumerablewritable - the writablepublic JavetEntityPropertyDescriptor(boolean configurable,
boolean enumerable,
boolean writable,
T value)
configurable - the configurableenumerable - the enumerablewritable - the writablevalue - the valuepublic T getValue()
IJavetEntityPropertyDescriptorgetValue in interface IJavetEntityPropertyDescriptor<T>public boolean isConfigurable()
IJavetEntityPropertyDescriptorisConfigurable in interface IJavetEntityPropertyDescriptor<T>public boolean isEnumerable()
IJavetEntityPropertyDescriptorisEnumerable in interface IJavetEntityPropertyDescriptor<T>public boolean isWritable()
IJavetEntityPropertyDescriptorisWritable in interface IJavetEntityPropertyDescriptor<T>public void setConfigurable(boolean configurable)
IJavetEntityPropertyDescriptorsetConfigurable in interface IJavetEntityPropertyDescriptor<T>configurable - the configurablepublic void setEnumerable(boolean enumerable)
IJavetEntityPropertyDescriptorsetEnumerable in interface IJavetEntityPropertyDescriptor<T>enumerable - the enumerablepublic void setValue(T value)
IJavetEntityPropertyDescriptorsetValue in interface IJavetEntityPropertyDescriptor<T>value - the valuepublic void setWritable(boolean writable)
IJavetEntityPropertyDescriptorsetWritable in interface IJavetEntityPropertyDescriptor<T>writable - the writable