diff options
author | 2018-11-07 12:50:02 +0100 | |
---|---|---|
committer | 2018-11-07 12:50:02 +0100 | |
commit | ebb8785ae0af45e5a18eed892db641ce5b35ce6b (patch) | |
tree | 3fccd2ca909b20e73ea4eb33f31508eddca5e117 /Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend | |
parent | Logic structure builder fix for string building (diff) | |
download | VIATRA-Generator-ebb8785ae0af45e5a18eed892db641ce5b35ce6b.tar.gz VIATRA-Generator-ebb8785ae0af45e5a18eed892db641ce5b35ce6b.tar.zst VIATRA-Generator-ebb8785ae0af45e5a18eed892db641ce5b35ce6b.zip |
Fixed xmi generation with attributes. Added better error messages.
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend b/Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend index 95be8433..b2f4867b 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend +++ b/Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner/ecore2logic/AttributeMapper.xtend | |||
@@ -112,7 +112,7 @@ class EAttributeMapper_RelationsOverTypes implements EAttributeMapper { | |||
112 | else if(attribute.EType.name.equals("EDouble") || | 112 | else if(attribute.EType.name.equals("EDouble") || |
113 | attribute.EType.name.equals("EFloat")) return LogicReal | 113 | attribute.EType.name.equals("EFloat")) return LogicReal |
114 | else if(attribute.EType.name.equals("EString")) return LogicString | 114 | else if(attribute.EType.name.equals("EString")) return LogicString |
115 | else throw new UnsupportedOperationException('''Unsupported attribute type: «attribute.EType.name»''') | 115 | else throw new UnsupportedOperationException('''Unsupported attribute type: «attribute.EType.name» of «attribute.EContainingClass.EPackage»::«attribute.EContainingClass.name».«attribute.name»''') |
116 | } | 116 | } |
117 | 117 | ||
118 | override relationOfAttribute(Ecore2Logic_Trace trace, EAttribute attribute) { | 118 | override relationOfAttribute(Ecore2Logic_Trace trace, EAttribute attribute) { |