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()
IJavetEntityPropertyDescriptor
getValue
in interface IJavetEntityPropertyDescriptor<T>
public boolean isConfigurable()
IJavetEntityPropertyDescriptor
isConfigurable
in interface IJavetEntityPropertyDescriptor<T>
public boolean isEnumerable()
IJavetEntityPropertyDescriptor
isEnumerable
in interface IJavetEntityPropertyDescriptor<T>
public boolean isWritable()
IJavetEntityPropertyDescriptor
isWritable
in interface IJavetEntityPropertyDescriptor<T>
public void setConfigurable(boolean configurable)
IJavetEntityPropertyDescriptor
setConfigurable
in interface IJavetEntityPropertyDescriptor<T>
configurable
- the configurablepublic void setEnumerable(boolean enumerable)
IJavetEntityPropertyDescriptor
setEnumerable
in interface IJavetEntityPropertyDescriptor<T>
enumerable
- the enumerablepublic void setValue(T value)
IJavetEntityPropertyDescriptor
setValue
in interface IJavetEntityPropertyDescriptor<T>
value
- the valuepublic void setWritable(boolean writable)
IJavetEntityPropertyDescriptor
setWritable
in interface IJavetEntityPropertyDescriptor<T>
writable
- the writable