-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* JNG-4767 initial commit * JNG-4767 parameter tests fixed * JNG-4767 test.jsl fixed * JNG-4767 query fixes * JNG-4767 [Release] Updating versions * JNG-4767 fixes according to review * JNG-4767 [Release] Updating versions
- Loading branch information
Showing
56 changed files
with
617 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 20 additions & 2 deletions
22
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/id.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
operation Any setId(id: String) { | ||
self.eResource.setId(self, id); | ||
if (id.isUndefined()) { | ||
throw "ID is not defined" + self; | ||
} | ||
if (self.isUndefined()) { | ||
throw "Could not determinate ID of " + self; | ||
} | ||
var r = self.eResource; | ||
if (r.isUndefined()) { | ||
throw "Object is not added to resource " + self; | ||
} | ||
r.setId(self, id); | ||
} | ||
|
||
operation Any getId() : String { | ||
return self.eResource.getId(self); | ||
if (self.isUndefined()) { | ||
throw "Could not determinate ID of " + self; | ||
} | ||
var r = self.eResource; | ||
if (r.isUndefined()) { | ||
throw "Object is not added to resource " + self; | ||
} | ||
|
||
return r.getId(self); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityDerivedDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@cached | ||
operation JSL!EntityDerivedDeclaration getId(): String { | ||
operation JSL!EntityCalculatedMemberDeclaration getId(): String { | ||
return (self.eContainer.getId() + "/" + self.name); | ||
} |
2 changes: 1 addition & 1 deletion
2
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityFieldDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@cached | ||
operation JSL!EntityFieldDeclaration getId(): String { | ||
operation JSL!EntityStoredFieldDeclaration getId(): String { | ||
return (self.eContainer.getId() + "/" + self.name); | ||
} |
4 changes: 0 additions & 4 deletions
4
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityIdentifierDeclaration.eol
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityMemberDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@cached | ||
operation JSL!EntityMemberDeclaration getReferenceType() : JSL!SingleType { | ||
return jslUtils.getReferenceType(self); | ||
} | ||
|
||
@cached | ||
operation JSL!EntityMemberDeclaration isQuery() : Boolean { | ||
return jslUtils.isQuery(self); | ||
} | ||
|
4 changes: 0 additions & 4 deletions
4
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityQueryDeclaration.eol
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/entityRelationDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@cached | ||
operation JSL!EntityRelationDeclaration getId(): String { | ||
operation JSL!EntityStoredRelationDeclaration getId(): String { | ||
return (self.eContainer.getId() + "/" + self.name); | ||
} |
18 changes: 14 additions & 4 deletions
18
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/expression.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/transferDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
judo-tatami-jsl-jsl2psm/src/main/epsilon/operations/jsl/data/transferRelationDeclaration.eol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@cached | ||
operation JSL!TransferRelationDeclaration getReferenceType() : JSL!TransferDeclaration { | ||
return jslUtils.getReferenceType(self); | ||
} | ||
|
||
@cached | ||
operation JSL!TransferRelationDeclaration isAggregation() : Boolean { | ||
return jslUtils.isAggregation(self); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.