kiss
Property
This class represents a property of object model.
Note: Care should be exercised if Property
objects are used as keys in a
java.util.SortedMap
or elements in a java.util.SortedSet
since Property's natural
ordering is inconsistent with equals. See Comparable
, java.util.SortedMap
or
java.util.SortedSet
for more information.
model
Model
The associated object model with this Property
.
name
String
The human-readable identifier of this Property
.
transitory
boolean
Whether this Property
is transient or not.
getter
WiseFunction
The property accessor.
setter
WiseBiFunction
The property accessor.
Property
(Model
model
, String
name
, M
mem
)
Model
model
, String
name
, M
mem
)M
|
|
Model model |
A model that this property belongs to. |
String name |
A property name. |
M mem |
An associated member (filed or method). |
Create a property.