Interface Instance
-
- All Known Implementing Classes:
InstanceImpl
public interface Instance
- Author:
- jwells
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getBean()
Gets the bean (or bean-like-map) associated with this instanceObject
getMetadata()
Gets information about this instance.void
setMetadata(Object metadata)
Sets an object containing information about this instance.
-
-
-
Method Detail
-
getBean
Object getBean()
Gets the bean (or bean-like-map) associated with this instance- Returns:
- The non-null bean or bean-like map
-
getMetadata
Object getMetadata()
Gets information about this instance. Can be used to describe the bean in some useful way- Returns:
- The possibly null metadata associated with this instance
-
setMetadata
void setMetadata(Object metadata)
Sets an object containing information about this instance. Can be used to describe the bean in some useful way- Parameters:
metadata
- The possibly null metadata to be associated with this instance
-
-