Subversion Repositories bacoAlunos

Rev

Rev 1781 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package pt.estgp.estgweb.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jorgemachado on 15/05/17.
 */

public class BpmnFlowConnectorImpl extends BpmnFlowConnector
{

    public 1.5.0/docs/api/java/lang/Long.html">Long getFlowComponentId()
    {
        if(getFlowComponent() != null)
            return getFlowComponent().getId();
        else
            return null;
    }


    public void setFlowComponentId(1.5.0/docs/api/java/lang/Long.html">Long id)
    {
        setFlowComponent(new BpmnFlowComponentImpl());
        getFlowComponent().setId(id);
    }

    @1.5.0/docs/api/java/lang/Override.html">Override
    public List<String> getJsonExcludedProperties() {
        //Metodo chamado pelo DomainObject para serializações genericas
        //Nao usa este porque usa o flowComponentId
        ArrayList<String> excluded = new ArrayList<String>();
        excluded.add("flowComponent");
        return excluded;
    }
}