generated.docs.javadoc.org.eclipse.dawnsci.analysis.tree.impl.NodeLinkImpl.html Maven / Gradle / Ivy
NodeLinkImpl (h5jan API)
org.eclipse.dawnsci.analysis.tree.impl
Class NodeLinkImpl
- java.lang.Object
-
- org.eclipse.dawnsci.analysis.tree.impl.NodeLinkImpl
-
- All Implemented Interfaces:
- java.io.Serializable, NodeLink
public class NodeLinkImpl
extends java.lang.Object
implements NodeLink, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected static long
serialVersionUID
-
Constructor Summary
Constructors
Constructor and Description
NodeLinkImpl(java.lang.String link,
Node source,
Node destination)
A node link
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Node
getDestination()
java.lang.String
getName()
Node
getSource()
boolean
isDestinationData()
boolean
isDestinationGroup()
boolean
isDestinationSymbolic()
java.lang.String
toString()
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
Method Detail
-
getSource
public Node getSource()
-
getDestination
public Node getDestination()
- Specified by:
getDestination
in interface NodeLink
- Returns:
- destination node
-
isDestinationData
public boolean isDestinationData()
- Specified by:
isDestinationData
in interface NodeLink
- Returns:
- true if destination is a data node
-
isDestinationGroup
public boolean isDestinationGroup()
- Specified by:
isDestinationGroup
in interface NodeLink
- Returns:
- true if destination is a group node
-
isDestinationSymbolic
public boolean isDestinationSymbolic()
- Specified by:
isDestinationSymbolic
in interface NodeLink
- Returns:
- true if destination is a symbolic node
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object