public AddVectorIntClosure() // only the ports and URI, no parameters { setRandomURI(); InputPortsVec = new VectorParPort[1]; VectorParPort In1 = new VectorParPort(); In1.setName(getInputVectorPortNames()[0]); In1.setType(InputVectorPortTypes[0]); In1.setSignal(null); InputPortsVec[0] = In1; SingleParPort Out = new SingleParPort(); Out.setName(getOutputSinglePortNames()[0]); Out.setType(OutputSinglePortTypes[0]); Out.setSignal(null); OutputPorts = new SingleParPort[1]; OutputPorts[0] = Out; }