Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TProg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Santiago Martin Vaiga Cousillas
TProg
Commits
fd05c3f6
Commit
fd05c3f6
authored
2 years ago
by
Tobias Iroa Otero
Browse files
Options
Downloads
Patches
Plain Diff
getters y setters salida y 1 en act
parent
40b9cad4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/logica/Actividad.java
+4
-0
4 additions, 0 deletions
src/logica/Actividad.java
src/logica/Salida.java
+54
-6
54 additions, 6 deletions
src/logica/Salida.java
with
58 additions
and
6 deletions
src/logica/Actividad.java
+
4
−
0
View file @
fd05c3f6
...
...
@@ -84,6 +84,10 @@ public class Actividad {
return
colSal
;
}
public
void
addSalida
(
Salida
s
)
{
this
.
colSal
.
put
(
s
.
getNombre
(),
s
);
}
//Operaciones
public
DataActividad
getDataAT
()
{
...
...
This diff is collapsed.
Click to expand it.
src/logica/Salida.java
+
54
−
6
View file @
fd05c3f6
...
...
@@ -12,12 +12,12 @@ public class Salida {
public
Salida
(
String
n
,
String
l
,
Date
h
,
Date
f
,
Date
fa
,
int
c
)
{
n
ombre
=
n
;
lugar
=
l
;
hora
=
h
;
fecha
=
f
;
f
echaAlta
=
fa
;
cant
=
c
;
setN
ombre
(
n
)
;
setLugar
(
l
)
;
setHora
(
h
)
;
setFecha
(
f
)
;
setF
echaAlta
(
fa
)
;
setCant
(
c
)
;
};
public
boolean
estaVigente
()
...
...
@@ -29,5 +29,53 @@ public class Salida {
{
return
null
;
}
public
String
getNombre
()
{
return
nombre
;
}
public
void
setNombre
(
String
nombre
)
{
this
.
nombre
=
nombre
;
}
public
String
getLugar
()
{
return
lugar
;
}
public
void
setLugar
(
String
lugar
)
{
this
.
lugar
=
lugar
;
}
public
Date
getHora
()
{
return
hora
;
}
public
void
setHora
(
Date
hora
)
{
this
.
hora
=
hora
;
}
public
Date
getFecha
()
{
return
fecha
;
}
public
void
setFecha
(
Date
fecha
)
{
this
.
fecha
=
fecha
;
}
public
Date
getFechaAlta
()
{
return
fechaAlta
;
}
public
void
setFechaAlta
(
Date
fechaAlta
)
{
this
.
fechaAlta
=
fechaAlta
;
}
public
int
getCant
()
{
return
cant
;
}
public
void
setCant
(
int
cant
)
{
this
.
cant
=
cant
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment