/*
 * Copyright (c) 2013-2014, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved.
 */

package com.arjuna.databroker.data.jee;

import java.io.Serializable;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.arjuna.databroker.data.DataFlowNodeState;

public class DefaultDataFlowNodeState implements DataFlowNodeState
{
    private static final Logger logger = Logger.getLogger(DefaultDataFlowNodeState.class.getName());

    public DefaultDataFlowNodeState(UUID uuid)
    {
        logger.log(Level.FINE, "DefaultDataFlowNodeState: " + uuid);

        _uuid = uuid;
    }

    @Override
    public Serializable getState()
    {
        return _state;
    }

    @Override
    public void setState(Serializable state)
    {
        _state = state;
    }

    private UUID         _uuid;
    private Serializable _state;
}

@@ -183,31 +183,8 @@
 le;%0A
-import java.util.UUID;%0A
 impo
@@ -509,15 +509,15 @@
 ate(
-UUID uu
+String 
 id)%0A
@@ -584,18 +584,16 @@
 te: %22 + 
-uu
 id);%0A%0A  
@@ -603,17 +603,72 @@
    _
-uu
 id = 
-uu
+id;%0A    %7D%0A%0A    public String getId()%0A    %7B%0A        return _
 id;%0A
@@ -871,22 +871,22 @@
 ate 
-UUID  
+String
        _
 uuid
@@ -885,10 +885,8 @@
    _
-uu
 id;%0A

UUID to String