Class Reference
- All Implemented Interfaces:
Provider<ObjectCollection>
An
ObjectCollectionProvider
that references an existing ObjectCollection
by its
identifier.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Reference
Creates a newReference
with the specified identifier.- Parameters:
id
- the identifier of the object collection to reference
-
Reference
public Reference()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getId
The identifier of the object collection to reference. -
setId
The identifier of the object collection to reference.
-