java.lang.Object
jmri.NamedBeanHandle<T>
- Type Parameters:
T- the class of the NamedBean
Utility class for managing access to a NamedBean.
This associates a particular name (either the user name or system name,
typically) with a specific NamedBean. Later, when the user wants to do a
rename operation, this is used to decide whether this particular reference
should be renamed. Note, however, that these should only be created and
access via the NamedBeanHandleManager instance.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNamedBeanHandle(String name, T bean) Create a handle to a particular bean accessed by a specific name. -
Method Summary
-
Field Details
-
name
-
bean
-
-
Constructor Details
-
NamedBeanHandle
Create a handle to a particular bean accessed by a specific name.Usually, defer to
NamedBeanHandleManagerto create these- Parameters:
name- the name for the handlebean- the bean to handle
-
-
Method Details