File tree Expand file tree Collapse file tree
de/uni_stuttgart/ils/reqif4j/specification Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,8 @@ public SpecObject(Node specObject, SpecType specType) {
170170 this .attributeValues .put (attributeDefinitionName , new AttributeValueString (attributeValue , attributeDefinition ));
171171 break ;
172172
173- case ReqIFConst .ENUMERATION : String enumValueRef = ((Element )attribute ).getElementsByTagName (ReqIFConst .VALUES ).item (0 ).getChildNodes ().item (1 ).getTextContent ();
173+ case ReqIFConst .ENUMERATION : String enumValueRef = ((Element )attribute ).getElementsByTagName (ReqIFConst .VALUES ).item (0 ).getChildNodes ().item (1 ).getTextContent ();
174+ // TODO check how it is behaving if more than one enum value exits. Right now the attribute value is only a string.
174175 attributeValue = specType .getEnumValueName (enumValueRef );
175176 this .attributeValues .put (attributeDefinitionName , new AttributeValueEnumeration (attributeValue , attributeDefinition ));
176177 break ;
You can’t perform that action at this time.
0 commit comments