Package xal.smf
Class NodeChannelRef
java.lang.Object
xal.smf.NodeChannelRef
Provides a reference to a channel within a node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
the handle referencing the node's channelprotected final AcceleratorNode
the node whose channel is being referenced -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the referenced channel.Get the channel handle which references the channel for the nodestatic NodeChannelRef
getInstance
(Accelerator accelerator, String refString) attempt to parse the string for a node channel refgetNode()
Get the nodetoString()
Get a string representation of the node/channel reference
-
Field Details
-
node
the node whose channel is being referenced -
handle
the handle referencing the node's channel
-
-
Constructor Details
-
NodeChannelRef
Constructor
-
-
Method Details
-
getInstance
attempt to parse the string for a node channel ref- Parameters:
accelerator
- the accelerator for which to search for the noderefString
- the string to parse for the node and handle- Returns:
- a node channel ref or null if no match can be found
-
getNode
Get the node- Returns:
- the node
-
getHandle
Get the channel handle which references the channel for the node- Returns:
- the handle
-
getChannel
Get the referenced channel.- Returns:
- the node's channel corresponding to the handle
-
toString
Get a string representation of the node/channel reference
-