Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
d12ef350
Commit
d12ef350
authored
May 24, 2018
by
Piotr Gawron
Browse files
model contains information about user consent for google maps API terms
parent
f908511d
Changes
2
Hide whitespace changes
Inline
Side-by-side
model/src/main/java/lcsb/mapviewer/model/map/layout/Layout.java
View file @
d12ef350
...
...
@@ -70,7 +70,10 @@ public class Layout implements Serializable {
/**
* Does the layout present data in hierarchical view.
*/
private
boolean
hierarchicalView
=
false
;
private
boolean
hierarchicalView
=
false
;
@Column
(
name
=
"google_license_consent"
)
private
boolean
googleLicenseConsent
=
false
;
/**
* If overlay contain hierarchical view then it might be fixed on some
...
...
@@ -447,4 +450,12 @@ public class Layout implements Serializable {
this
.
hierarchyViewLevel
=
hierarchyViewLevel
;
}
public
boolean
isGoogleLicenseConsent
()
{
return
googleLicenseConsent
;
}
public
void
setGoogleLicenseConsent
(
boolean
googleLicenseConsent
)
{
this
.
googleLicenseConsent
=
googleLicenseConsent
;
}
}
persist/src/db/11.1.0/fix_db_20180509.sql
0 → 100644
View file @
d12ef350
alter
table
layout
add
column
google_license_consent
boolean
default
false
;
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment