Skip to content

Commit

Permalink
TEIIDDES-2809 added missing transferring of the imported/exported
Browse files Browse the repository at this point in the history
isVisible value to both XMI and Dynamic VDB converters.
  • Loading branch information
blafond committed Mar 28, 2016
1 parent af55d05 commit 68edaa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -983,6 +983,7 @@ public DynamicVdb dynVdbConvert(IFile destination, Properties options) throws Ex
DynamicModel model = new DynamicModel();
model.setName(entry.getName());
model.setDescription(entry.getDescription());
model.setVisible(entry.isVisible());

for (Map.Entry<Object, Object> prop : entry.getProperties().entrySet()) {
model.setProperty(prop.getKey().toString(), prop.getValue().toString());
Expand Down
Expand Up @@ -698,6 +698,8 @@ public XmiVdb xmiVdbConvert(IFile destination, Properties options) throws Except
if( !StringUtilities.isEmpty(desc) ) {
modelEntry.setDescription(desc);
}

modelEntry.setVisible(dynModel.isVisible());

VdbSourceInfo sourceInfo = modelEntry.getSourceInfo();
sourceInfo.setIsMultiSource(dynModel.isMultiSource());
Expand Down

0 comments on commit 68edaa3

Please sign in to comment.