com.kuka.nav.fleet.graph.properties
Class NodeAction

java.lang.Object
  extended by com.kuka.nav.fleet.graph.properties.AbstractProperty
      extended by com.kuka.nav.fleet.graph.properties.NodeAction
All Implemented Interfaces:
Property, Serializable

public class NodeAction
extends AbstractProperty

Represents the action executed on a node.

See Also:
Serialized Form

Constructor Summary
NodeAction()
          Creates a new node action property.
NodeAction(String id)
          Creates a new node action property with given action ID.
NodeAction(String id, String restrictedAreaShape)
          Creates a new node action property with given action ID and serialized restricted area shape.
 
Method Summary
 String getActionID()
           
 String getRestrictedAreaShape()
          Gets the restricted area shape of this action, as serialized string.
 String getValueToDisplay()
          Returns the value(s) in a way to show it in a UI.
 void setActionID(String id)
          Sets the ID of the node action.
 void setRestrictedAreaShape(String restrictedAreaShape)
          Sets the restricted area shape of this action, as serialized string.
 String toString()
           
 
Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty
equals, fireChanged, getAllowedTypes, getId, hashCode, setId, tryGetParamFromString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeAction

public NodeAction()
Creates a new node action property.


NodeAction

public NodeAction(String id)
Creates a new node action property with given action ID.

Parameters:
id - the action id

NodeAction

public NodeAction(String id,
                  String restrictedAreaShape)
Creates a new node action property with given action ID and serialized restricted area shape.

Parameters:
id - the action id
restrictedAreaShape - The restricted area shape (string) of the node action.
Method Detail

getActionID

public String getActionID()
Returns:
The ID of the node action.

setActionID

public void setActionID(String id)
Sets the ID of the node action.

Parameters:
id - action ID

getRestrictedAreaShape

public String getRestrictedAreaShape()
Gets the restricted area shape of this action, as serialized string.

Returns:
The restricted area shape (string) of the node action.

setRestrictedAreaShape

public void setRestrictedAreaShape(String restrictedAreaShape)
Sets the restricted area shape of this action, as serialized string.

Parameters:
restrictedAreaShape - The restricted area shape (string) of the node action.

toString

public String toString()
Overrides:
toString in class Object

getValueToDisplay

public String getValueToDisplay()
Description copied from interface: Property
Returns the value(s) in a way to show it in a UI.

Returns:
the values


Copyright © 2019. All rights reserved.