Package org.teamapps.dto
Class UiNetworkGraph.SetDistanceCommand
java.lang.Object
org.teamapps.dto.UiNetworkGraph.SetDistanceCommand
- All Implemented Interfaces:
UiCommand<java.lang.Void>
- Enclosing class:
- UiNetworkGraph
public static class UiNetworkGraph.SetDistanceCommand extends java.lang.Object implements UiCommand<java.lang.Void>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcomponentIdprotected floatlinkDistanceprotected floatnodeDistance -
Constructor Summary
Constructors Constructor Description SetDistanceCommand()Deprecated.Only for Jackson deserialization.SetDistanceCommand(java.lang.String componentId, float linkDistance, float nodeDistance) -
Method Summary
Modifier and Type Method Description java.lang.StringgetComponentId()floatgetLinkDistance()floatgetNodeDistance()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
componentId
protected java.lang.String componentId -
linkDistance
protected float linkDistance -
nodeDistance
protected float nodeDistance
-
-
Constructor Details
-
SetDistanceCommand
@Deprecated public SetDistanceCommand()Deprecated.Only for Jackson deserialization. Use the other constructor instead. -
SetDistanceCommand
public SetDistanceCommand(java.lang.String componentId, float linkDistance, float nodeDistance)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getComponentId
public java.lang.String getComponentId()- Specified by:
getComponentIdin interfaceUiCommand<java.lang.Void>
-
getLinkDistance
public float getLinkDistance() -
getNodeDistance
public float getNodeDistance()
-