Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pedot Nicola
semint-kprime
Commits
2a5d7d4d
Commit
2a5d7d4d
authored
Jan 13, 2021
by
npedot
Browse files
removes old tables() and constraints() imple
parent
a64cefa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/unibz.cs.semint.kprime/domain/ddl/Schema.kt
View file @
2a5d7d4d
...
...
@@ -23,8 +23,6 @@ class Schema () {
fun
constraints
():
MutableList
<
Constraint
>
{
if
(
constraints
==
null
)
constraints
=
ArrayList
()
return
constraints
as
MutableList
<
Constraint
>
// if (constraints!=null) return constraints as MutableList<Constraint>
// return ArrayList()
}
fun
constraintsByType
(
type
:
Constraint
.
TYPE
):
List
<
Constraint
>
{
...
...
@@ -36,8 +34,6 @@ class Schema () {
fun
tables
():
ArrayList
<
Table
>
{
if
(
tables
==
null
)
tables
=
ArrayList
()
return
tables
as
ArrayList
<
Table
>
// if (tables!=null) return tables as ArrayList<Table>
// return ArrayList()
}
fun
constraint
(
name
:
String
):
Constraint
?
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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