public class SuppliedManagedObjectNodeImpl extends Object implements SuppliedManagedObjectNode
TYPE
Constructor and Description |
---|
SuppliedManagedObjectNodeImpl(AutoWire autoWire,
SupplierNode supplierNode,
NodeContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocation()
Obtains the location of the
Node . |
String |
getNodeName()
Obtains the name of the
Node . |
String |
getNodeType()
Obtains the
Node type. |
Node |
getParentNode()
|
SupplierNode |
getSupplierNode()
Obtains the
SupplierNode containing this
SuppliedManagedObject . |
void |
initialise()
Initialises the
SuppliedManagedObjectNode . |
boolean |
isInitialised()
Indicates if the
Node has been initialised. |
SuppliedManagedObject<?,?> |
loadSuppliedManagedObject()
Loads the
SuppliedManagedObject . |
public SuppliedManagedObjectNodeImpl(AutoWire autoWire, SupplierNode supplierNode, NodeContext context)
autoWire
- AutoWire
to identify the supplied
ManagedObjectSource
.supplierNode
- SupplierNode
.context
- NodeContext
.public String getNodeName()
Node
Node
.getNodeName
in interface Node
Node
.public String getNodeType()
Node
Node
type.getNodeType
in interface Node
Node
type.public String getLocation()
Node
Node
.getLocation
in interface Node
Node
. May be null
if
Node
does not support a location.public Node getParentNode()
Node
getParentNode
in interface Node
Node
containing this Node
.public boolean isInitialised()
Node
Node
has been initialised. Node
instances should only be initialised once. Initialising the Node
twice is an issue.isInitialised
in interface Node
true
if initialised.public void initialise()
SuppliedManagedObjectNode
SuppliedManagedObjectNode
.initialise
in interface SuppliedManagedObjectNode
public SupplierNode getSupplierNode()
SuppliedManagedObjectNode
SupplierNode
containing this
SuppliedManagedObject
.getSupplierNode
in interface SuppliedManagedObjectNode
SupplierNode
.public SuppliedManagedObject<?,?> loadSuppliedManagedObject()
SuppliedManagedObjectNode
SuppliedManagedObject
.loadSuppliedManagedObject
in interface SuppliedManagedObjectNode
SuppliedManagedObject
. May be null
if issue
in loading the SuppliedManagedObject
.Copyright © 2005–2016. All rights reserved.