diff options
author | 2018-08-28 18:45:46 +0200 | |
---|---|---|
committer | 2018-08-28 18:45:46 +0200 | |
commit | b2174e0df4bfd7954c966ff4f0ae005a61c70d9d (patch) | |
tree | 3e88919a09961fc1dd290b3fa2350986367f9801 /Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner | |
parent | Models are not visualized if the documentation level is above NORMAL (diff) | |
download | VIATRA-Generator-b2174e0df4bfd7954c966ff4f0ae005a61c70d9d.tar.gz VIATRA-Generator-b2174e0df4bfd7954c966ff4f0ae005a61c70d9d.tar.zst VIATRA-Generator-b2174e0df4bfd7954c966ff4f0ae005a61c70d9d.zip |
Added support for SHORT type as integer
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.ecore2logic/src/hu/bme/mit/inf/dslreasoner')
-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 e44e9a1e..95be8433 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 | |||
@@ -107,7 +107,7 @@ class EAttributeMapper_RelationsOverTypes implements EAttributeMapper { | |||
107 | 107 | ||
108 | override TypeDescriptor TypeOfRange(Ecore2Logic_Trace trace, EAttribute attribute) { | 108 | override TypeDescriptor TypeOfRange(Ecore2Logic_Trace trace, EAttribute attribute) { |
109 | if(attribute.EType instanceof EEnum) return enumMapper.TypeofEEnum(trace,attribute.EType as EEnum) | 109 | if(attribute.EType instanceof EEnum) return enumMapper.TypeofEEnum(trace,attribute.EType as EEnum) |
110 | else if(attribute.EType.name.equals("EInt")) return LogicInt | 110 | else if(attribute.EType.name.equals("EInt") || attribute.EType.name.equals("EShort")) return LogicInt |
111 | else if(attribute.EType.name.equals("EBoolean")) return LogicBool | 111 | else if(attribute.EType.name.equals("EBoolean")) return LogicBool |
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 |