Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
riseclipse-metamodel-nsd2016
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
Container Registry
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
RiseClipseGroup
riseclipse-metamodel-nsd2016
Commits
31df1645
Commit
31df1645
authored
6 years ago
by
Dominique Marcadet
Browse files
Options
Downloads
Patches
Plain Diff
check for presence of depending NS in findXXX()
parent
69d3bab5
No related branches found
No related tags found
1 merge request
!6
Resolve "add needed services in NsdResourceSet"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fr.centralesupelec.edf.riseclipse.iec61850.nsd/src/fr/centralesupelec/edf/riseclipse/iec61850/nsd/impl/NSImpl.java
+15
-5
15 additions, 5 deletions
...tralesupelec/edf/riseclipse/iec61850/nsd/impl/NSImpl.java
with
15 additions
and
5 deletions
fr.centralesupelec.edf.riseclipse.iec61850.nsd/src/fr/centralesupelec/edf/riseclipse/iec61850/nsd/impl/NSImpl.java
+
15
−
5
View file @
31df1645
...
@@ -1675,7 +1675,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
...
@@ -1675,7 +1675,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
if
(
found
!=
null
)
return
found
;
if
(
found
!=
null
)
return
found
;
}
}
if
(
isSetDependsOn
()
)
{
// Look for in NS referred by DependsOn
// Warning: NS referred by DependsOn may not be loaded
if
(
isSetDependsOn
()
&&
(
getDependsOn
().
isSetRefersToNS
()
))
{
getDependsOn
().
buildExplicitLinks
(
console
);
getDependsOn
().
buildExplicitLinks
(
console
);
return
getDependsOn
().
getRefersToNS
().
findCDC
(
cDCName
,
console
);
return
getDependsOn
().
getRefersToNS
().
findCDC
(
cDCName
,
console
);
}
}
...
@@ -1696,7 +1698,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
...
@@ -1696,7 +1698,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
if
(
found
!=
null
)
return
found
;
if
(
found
!=
null
)
return
found
;
}
}
if
(
isSetDependsOn
()
)
{
// Look for in NS referred by DependsOn
// Warning: NS referred by DependsOn may not be loaded
if
(
isSetDependsOn
()
&&
(
getDependsOn
().
isSetRefersToNS
()
))
{
getDependsOn
().
buildExplicitLinks
(
console
);
getDependsOn
().
buildExplicitLinks
(
console
);
return
getDependsOn
().
getRefersToNS
().
findPresenceCondition
(
presenceConditionName
,
console
);
return
getDependsOn
().
getRefersToNS
().
findPresenceCondition
(
presenceConditionName
,
console
);
}
}
...
@@ -1719,7 +1723,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
...
@@ -1719,7 +1723,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
if
(
found
!=
null
)
return
found
;
if
(
found
!=
null
)
return
found
;
}
}
if
(
isSetDependsOn
()
)
{
// Look for in NS referred by DependsOn
// Warning: NS referred by DependsOn may not be loaded
if
(
isSetDependsOn
()
&&
(
getDependsOn
().
isSetRefersToNS
()
))
{
getDependsOn
().
buildExplicitLinks
(
console
);
getDependsOn
().
buildExplicitLinks
(
console
);
return
getDependsOn
().
getRefersToNS
().
findFunctionalConstraint
(
functionalConstraintAbbreviation
,
console
);
return
getDependsOn
().
getRefersToNS
().
findFunctionalConstraint
(
functionalConstraintAbbreviation
,
console
);
}
}
...
@@ -1740,7 +1746,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
...
@@ -1740,7 +1746,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
if
(
found
!=
null
)
return
found
;
if
(
found
!=
null
)
return
found
;
}
}
if
(
isSetDependsOn
()
)
{
// Look for in NS referred by DependsOn
// Warning: NS referred by DependsOn may not be loaded
if
(
isSetDependsOn
()
&&
(
getDependsOn
().
isSetRefersToNS
()
))
{
getDependsOn
().
buildExplicitLinks
(
console
);
getDependsOn
().
buildExplicitLinks
(
console
);
return
getDependsOn
().
getRefersToNS
().
findEnumeration
(
enumerationName
,
console
);
return
getDependsOn
().
getRefersToNS
().
findEnumeration
(
enumerationName
,
console
);
}
}
...
@@ -1761,7 +1769,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
...
@@ -1761,7 +1769,9 @@ public class NSImpl extends CopyrightedImpl implements NS {
if
(
found
!=
null
)
return
found
;
if
(
found
!=
null
)
return
found
;
}
}
if
(
isSetDependsOn
()
)
{
// Look for in NS referred by DependsOn
// Warning: NS referred by DependsOn may not be loaded
if
(
isSetDependsOn
()
&&
(
getDependsOn
().
isSetRefersToNS
()
))
{
getDependsOn
().
buildExplicitLinks
(
console
);
getDependsOn
().
buildExplicitLinks
(
console
);
return
getDependsOn
().
getRefersToNS
().
findBasicType
(
basicTypeName
,
console
);
return
getDependsOn
().
getRefersToNS
().
findBasicType
(
basicTypeName
,
console
);
}
}
...
...
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