Skip to content

Commit 620f47f

Browse files
author
dionimf
committed
Alteração classes
1 parent 38a5c51 commit 620f47f

72 files changed

Lines changed: 6526 additions & 195 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LojaInstrumentos/Log.txt

Lines changed: 1000 additions & 0 deletions
Large diffs are not rendered by default.

LojaInstrumentos/Ultimo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
admin

LojaInstrumentos/build.xml

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,73 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- You may freely edit this file. See commented blocks below for -->
3-
<!-- some examples of how to customize the build. -->
4-
<!-- (If you delete it and reopen the project it will be recreated.) -->
5-
<!-- By default, only the Clean and Build commands use this build script. -->
6-
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7-
<!-- the Compile on Save feature is turned off for the project. -->
8-
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9-
<!-- in the project's Project Properties dialog box.-->
10-
<project name="LojaInstrumentos" default="default" basedir=".">
11-
<description>Builds, tests, and runs the project LojaInstrumentos.</description>
12-
<import file="nbproject/build-impl.xml"/>
13-
<!--
14-
15-
There exist several targets which are by default empty and which can be
16-
used for execution of your tasks. These targets are usually executed
17-
before and after some main targets. They are:
18-
19-
-pre-init: called before initialization of project properties
20-
-post-init: called after initialization of project properties
21-
-pre-compile: called before javac compilation
22-
-post-compile: called after javac compilation
23-
-pre-compile-single: called before javac compilation of single file
24-
-post-compile-single: called after javac compilation of single file
25-
-pre-compile-test: called before javac compilation of JUnit tests
26-
-post-compile-test: called after javac compilation of JUnit tests
27-
-pre-compile-test-single: called before javac compilation of single JUnit test
28-
-post-compile-test-single: called after javac compilation of single JUunit test
29-
-pre-jar: called before JAR building
30-
-post-jar: called after JAR building
31-
-post-clean: called after cleaning build products
32-
33-
(Targets beginning with '-' are not intended to be called on their own.)
34-
35-
Example of inserting an obfuscator after compilation could look like this:
36-
37-
<target name="-post-compile">
38-
<obfuscate>
39-
<fileset dir="${build.classes.dir}"/>
40-
</obfuscate>
41-
</target>
42-
43-
For list of available properties check the imported
44-
nbproject/build-impl.xml file.
45-
46-
47-
Another way to customize the build is by overriding existing main targets.
48-
The targets of interest are:
49-
50-
-init-macrodef-javac: defines macro for javac compilation
51-
-init-macrodef-junit: defines macro for junit execution
52-
-init-macrodef-debug: defines macro for class debugging
53-
-init-macrodef-java: defines macro for class execution
54-
-do-jar: JAR building
55-
run: execution of project
56-
-javadoc-build: Javadoc generation
57-
test-report: JUnit report generation
58-
59-
An example of overriding the target for project execution could look like this:
60-
61-
<target name="run" depends="LojaInstrumentos-impl.jar">
62-
<exec dir="bin" executable="launcher.exe">
63-
<arg file="${dist.jar}"/>
64-
</exec>
65-
</target>
66-
67-
Notice that the overridden target depends on the jar target and not only on
68-
the compile target as the regular run target does. Again, for a list of available
69-
properties which you can use, check the target you are overriding in the
70-
nbproject/build-impl.xml file.
71-
72-
-->
73-
</project>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See commented blocks below for -->
3+
<!-- some examples of how to customize the build. -->
4+
<!-- (If you delete it and reopen the project it will be recreated.) -->
5+
<!-- By default, only the Clean and Build commands use this build script. -->
6+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+
<!-- the Compile on Save feature is turned off for the project. -->
8+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+
<!-- in the project's Project Properties dialog box.-->
10+
<project name="Loja" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project Loja.</description>
12+
<import file="nbproject/build-impl.xml"/>
13+
<!--
14+
15+
There exist several targets which are by default empty and which can be
16+
used for execution of your tasks. These targets are usually executed
17+
before and after some main targets. They are:
18+
19+
-pre-init: called before initialization of project properties
20+
-post-init: called after initialization of project properties
21+
-pre-compile: called before javac compilation
22+
-post-compile: called after javac compilation
23+
-pre-compile-single: called before javac compilation of single file
24+
-post-compile-single: called after javac compilation of single file
25+
-pre-compile-test: called before javac compilation of JUnit tests
26+
-post-compile-test: called after javac compilation of JUnit tests
27+
-pre-compile-test-single: called before javac compilation of single JUnit test
28+
-post-compile-test-single: called after javac compilation of single JUunit test
29+
-pre-jar: called before JAR building
30+
-post-jar: called after JAR building
31+
-post-clean: called after cleaning build products
32+
33+
(Targets beginning with '-' are not intended to be called on their own.)
34+
35+
Example of inserting an obfuscator after compilation could look like this:
36+
37+
<target name="-post-compile">
38+
<obfuscate>
39+
<fileset dir="${build.classes.dir}"/>
40+
</obfuscate>
41+
</target>
42+
43+
For list of available properties check the imported
44+
nbproject/build-impl.xml file.
45+
46+
47+
Another way to customize the build is by overriding existing main targets.
48+
The targets of interest are:
49+
50+
-init-macrodef-javac: defines macro for javac compilation
51+
-init-macrodef-junit: defines macro for junit execution
52+
-init-macrodef-debug: defines macro for class debugging
53+
-init-macrodef-java: defines macro for class execution
54+
-do-jar: JAR building
55+
run: execution of project
56+
-javadoc-build: Javadoc generation
57+
test-report: JUnit report generation
58+
59+
An example of overriding the target for project execution could look like this:
60+
61+
<target name="run" depends="Loja-impl.jar">
62+
<exec dir="bin" executable="launcher.exe">
63+
<arg file="${dist.jar}"/>
64+
</exec>
65+
</target>
66+
67+
Notice that the overridden target depends on the jar target and not only on
68+
the compile target as the regular run target does. Again, for a list of available
69+
properties which you can use, check the target you are overriding in the
70+
nbproject/build-impl.xml file.
71+
72+
-->
73+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE SCHEMA PUBLIC AUTHORIZATION DBA
2+
CREATE USER SA PASSWORD ""
3+
GRANT DBA TO SA
4+
SET WRITE_DELAY 10
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#HSQL Database Engine 1.8.0.5
2+
#Fri Dec 04 04:03:34 BRST 2015
3+
hsqldb.script_format=0
4+
runtime.gc_interval=0
5+
sql.enforce_strict_size=false
6+
hsqldb.cache_size_scale=8
7+
readonly=false
8+
hsqldb.nio_data_file=true
9+
hsqldb.cache_scale=14
10+
version=1.8.0
11+
hsqldb.default_table_type=memory
12+
hsqldb.cache_file_scale=1
13+
hsqldb.log_size=200
14+
modified=yes
15+
hsqldb.cache_version=1.7.0
16+
hsqldb.original_version=1.8.0
17+
hsqldb.compatible_version=1.8.0
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
insert into produto(codigo, nome, marca, modelo, descricao, datacompra, quantidade, valorunitario, valorcompra)
2+
values(2,'palheta', 'generico', 'generico', 'palheta generica de plastico preto','2015-10-21',31,1.50,0.60)
3+
;
4+
insert into produto(codigo, nome, marca, modelo, descricao, datacompra, quantidade, valorunitario, valorcompra)
5+
values(3,'pedal', 'generico', 'generico', 'pedal generico','2015-11-21',5,200.50,150.960)
6+
;
7+
insert into produto(codigo, nome, marca, modelo, descricao, datacompra, quantidade, valorunitario, valorcompra)
8+
values(4,'cordas', 'generico', 'generico', 'cordas para violao','2015-10-26',20,5.50,3.60)
9+
;
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
CREATE TABLE cliente
2+
(cpf integer primary key not null,
3+
rg integer not null,
4+
nome varchar(20) not null,
5+
sobrenome varchar(50) not null,
6+
sexo varchar(10) not null,
7+
datanascimento date not null,
8+
datacadastro date not null,
9+
estadocivil varchar(15) not null,
10+
telefone varchar(13) not null,
11+
celular varchar(13) not null,
12+
email varchar(50) not null,
13+
endereco varchar(50) not null,
14+
logadouro varchar(50) not null,
15+
bairro varchar(50) not null,
16+
numero integer not null,
17+
cep integer not null,
18+
estado varchar(2) not null,
19+
complemento varchar(50) not null,
20+
referencia varchar(100) not null
21+
);
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE TABLE produto
2+
(codigo integer primary key ,
3+
nome varchar(20) not null,
4+
marca varchar(50) not null,
5+
modelo varchar(50) not null,
6+
descricao varchar(50) not null,
7+
datacompra date not null,
8+
quantidade integer not null,
9+
valorunitario decimal not null,
10+
valorcompra decimal not null
11+
);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE usuario
2+
(cpf integer primary key ,
3+
rg integer not null,
4+
nome varchar(20) not null,
5+
sobrenome varchar(50) not null,
6+
email varchar(50) not null,
7+
user varchar(30) not null,
8+
senha varchar(30) not null
9+
);

LojaInstrumentos/hsqldb-2.3.3.zip

7.41 MB
Binary file not shown.

0 commit comments

Comments
 (0)