Interface Instance
-
- All Known Implementing Classes:
InstanceImpl
public interface Instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getBean()
Gets the bean (or bean-like-map) associated with this instancejava.lang.Object
getMetadata()
Gets information about this instance.void
setMetadata(java.lang.Object metadata)
Sets an object containing information about this instance.
-
-
-
Method Detail
-
getBean
java.lang.Object getBean()
Gets the bean (or bean-like-map) associated with this instance- Returns:
- The non-null bean or bean-like map
-
getMetadata
java.lang.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(java.lang.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
-
-