From: Mark Addison Date: Fri, 3 Oct 2003 18:07:13 +0000 (+0000) Subject: Added tagged values to DataType's X-Git-Tag: v0.04~150 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef879f14543c5779681d64cb8faa29ade0fe9493;p=dbsrgits%2FSQL-Translator.git Added tagged values to DataType's --- diff --git a/lib/SQL/Translator/XMI/Parser/V12.pm b/lib/SQL/Translator/XMI/Parser/V12.pm index 508c2f3..683eb11 100644 --- a/lib/SQL/Translator/XMI/Parser/V12.pm +++ b/lib/SQL/Translator/XMI/Parser/V12.pm @@ -1,7 +1,7 @@ package SQL::Translator::XMI::Parser::V12; # ------------------------------------------------------------------- -# $Id: V12.pm,v 1.3 2003-10-03 13:17:28 grommit Exp $ +# $Id: V12.pm,v 1.4 2003-10-03 18:07:13 grommit Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Mark Addison , # @@ -31,7 +31,7 @@ SQL::Translator::XMI::Parser::V12 - Version 1.2 parser. use strict; use 5.006_001; use vars qw/$VERSION/; -$VERSION = sprintf "%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/; use base qw(SQL::Translator::XMI::Parser); @@ -153,6 +153,15 @@ $spec12->{dataType} = { default => "", }, ], + kids => [ + { + name => "taggedValues", + path => 'UML:ModelElement.taggedValue/UML:TaggedValue', + class => "taggedValue", + multiplicity => "*", + map => "name", + }, + ], };