com.kuka.roboticsAPI.persistenceModel.processDataModel
Class ProcessDataContainerWrapper

java.lang.Object
  extended by com.kuka.roboticsAPI.persistenceModel.processDataModel.ProcessDataContainerWrapper

public class ProcessDataContainerWrapper
extends Object

Wrapper class for the process data container root node.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
ProcessDataContainerWrapper()
          Default constructor.
ProcessDataContainerWrapper(XmlApplicationDataSource dataSource, ProcessDataContainer processDataContainer)
          Constructor.
 
Method Summary
 void addProcessDataListener(IProcessDataListener processDataListener)
          Adds the given process data listener to all existing instances of process data objects.
 void clear()
          Clears the wrapped object.
 Collection<IProcessData> getAllProcessData()
          Gets all currently loaded process data.
 IProcessData getProcessData(String id)
          Gets the processData that matches the given identifier.
 ProcessDataContainer getWrappedObject()
           
 void save()
          Saves the current content to the data file.
 void update(XmlApplicationDataSource dataSource, ProcessDataContainer processDataContainer)
          Updates the wrapped object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessDataContainerWrapper

public ProcessDataContainerWrapper()
Default constructor.


ProcessDataContainerWrapper

public ProcessDataContainerWrapper(XmlApplicationDataSource dataSource,
                                   ProcessDataContainer processDataContainer)
Constructor.

Parameters:
dataSource - the data source
processDataContainer - the processDataContainer to wrap
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getWrappedObject

public final ProcessDataContainer getWrappedObject()
Returns:
the wrapped process data container.

update

public final void update(XmlApplicationDataSource dataSource,
                         ProcessDataContainer processDataContainer)
Updates the wrapped object.

Parameters:
dataSource - the data source
processDataContainer - the new processDataContainer
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getProcessData

public IProcessData getProcessData(String id)
Gets the processData that matches the given identifier.

Parameters:
id - the processData identifier
Returns:
the processData that matches the given identifier. Null, if no processData matches.

getAllProcessData

public Collection<IProcessData> getAllProcessData()
Gets all currently loaded process data.

Returns:
all currently loaded process data elements

save

public void save()
Saves the current content to the data file.


clear

public void clear()
Clears the wrapped object.


addProcessDataListener

public void addProcessDataListener(IProcessDataListener processDataListener)
Adds the given process data listener to all existing instances of process data objects.

Parameters:
processDataListener - the listener to add to all existing process data objects


Copyright © 2019. All rights reserved.