Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9ca7ef64
authored
Apr 02, 2011
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created some constructors missed in refactoring
1 parent
b5b248f9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
0 deletions
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntry.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Discount.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventMap.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventStatus.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntry.java
View file @
9ca7ef6
...
...
@@ -97,6 +97,10 @@ public class CompoEntry extends GenericEventChild {
this
.
name
=
entryName
;
}
public
CompoEntry
(
LanEvent
event
)
{
super
(
event
);
}
public
Calendar
getCreated
()
{
return
created
;
}
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Discount.java
View file @
9ca7ef6
...
...
@@ -75,6 +75,10 @@ public class Discount extends GenericEventChild {
@ManyToMany
(
mappedBy
=
"discounts"
)
private
List
<
Product
>
products
;
public
Discount
(
LanEvent
ev
)
{
super
(
ev
);
}
public
BigDecimal
getAmountMin
()
{
return
amountMin
;
}
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventMap.java
View file @
9ca7ef6
...
...
@@ -57,6 +57,10 @@ public class EventMap extends GenericEventChild {
@Lob
private
String
notes
;
public
EventMap
(
LanEvent
event
)
{
super
(
event
);
}
public
String
getName
()
{
return
name
;
}
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventStatus.java
View file @
9ca7ef6
...
...
@@ -32,6 +32,15 @@ public class EventStatus extends GenericEntity {
@OneToMany
(
cascade
=
CascadeType
.
ALL
,
mappedBy
=
"status"
)
private
List
<
LanEvent
>
events
;
public
EventStatus
()
{
super
();
};
public
EventStatus
(
String
name
)
{
super
();
this
.
name
=
name
;
}
public
String
getName
()
{
return
name
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment