Class Overview
An implementation of PropertySupport
for use in SCM entities, with write-once immutability provided by
setProperties(PropertyMap)
. Note: The recommended way to use this class is by composition.
Summary
Nested Classes |
class |
SimplePropertySupport.AbstractPropertyBuilder<B extends AbstractPropertyBuilder<B>> |
|
Public Constructors
Public Methods
public
void
setProperties
(PropertyMap properties)
Set properties on this entity. Note: this class allows to set a non-empty
instance
of properties only once in its life time, either when constructing an instance, or by using this method.
Once a non-empty instance of properties is set, any subsequent attempts to call this method will result in a
runtime exception.
Clients can use getProperties()
to query the current state of the properties.
Parameters
properties
| the properties to set |