-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Atualização do Diagrama da Arquitetura do Software
- Loading branch information
0 parents
commit 06a022c
Showing
46 changed files
with
5,564 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72.7 KB
Lista de Requisitos (Lista de Compras) - Maicon Rodrigues Queiroz 18_0105825.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# ECONOMIZZE | ||
![Imagem Interface](https://github.com/Maiconrq/Economizze/blob/main/ECONNOMIZZE.png) | ||
|
||
|
||
[![Série](https://img.shields.io/badge/Maiconrq-INMTE-orange)](https://github.com/Maiconrq/Economizze) | ||
[![licence mit](https://img.shields.io/badge/licence-MIT-blue.svg)](https://github.com/afonsopacifer/open-source-boilerplate/blob/master/LICENSE.md) | ||
![language](https://img.shields.io/badge/java-only-yellow) | ||
|
||
:rocket: Project with OO approaches and Java applications. | ||
|
||
> :rocket: **Projeto com abordagens de OO e aplicações em Java.** | ||
|
||
## Versioning / Versionamento | ||
- This project does not follow any versioning requirements. | ||
|
||
> **Esse projeto não segue nenhum requisito de versionamento.** | ||
|
||
## Contributing / Contribuindo | ||
|
||
- Want to contribute? [Follow this recommendations](./CONTRIBUTING.md): | ||
|
||
> **Pretende contribuir? [Siga esses passos](./CONTRIBUTING.md):** | ||
|
||
## History / História | ||
- See [Commit changes](https://github.com/Maiconrq/Economizze/commits/main) for details. | ||
|
||
> **Consulte [Mudanças de commit](https://github.com/Maiconrq/Economizze/commits/main) para obter detalhes.** | ||
|
||
## License / Licença | ||
[MIT License](https://github.com/Maiconrq/INMTE/blob/main/LICENSE) © [Maicon Rodrigues](https://github.com/Maiconrq) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.mycompany</groupId> | ||
<artifactId>CarrinhoDeCompras</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
</properties> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package controller; | ||
|
||
import java.util.ArrayList; | ||
import model.Carrinho; | ||
|
||
/** | ||
* | ||
* @author lucas | ||
*/ | ||
public class CarrinhoControl { | ||
public static boolean SalvarCarrinho(String nome,String quantiade,String preco){ | ||
Carrinho f = new Carrinho(nome,quantiade,preco); | ||
return f.Perdurar(); | ||
} | ||
public static ArrayList<String[]> getCarrinhos(){ | ||
|
||
ArrayList<String[]> Carrinhos = new ArrayList(); | ||
|
||
ArrayList<Carrinho> F = Carrinho.getCarrinhos(); | ||
if(F!=null){ | ||
for(int i=0;i<F.size();i++){ | ||
String f[]= new String[5]; | ||
f[0]=F.get(i).getNome(); | ||
f[1]=F.get(i).getQuantiade(); | ||
f[2]=F.get(i).getPreco(); | ||
|
||
Carrinhos.add(f); | ||
} | ||
} | ||
return Carrinhos; | ||
} | ||
} |
Oops, something went wrong.