ontomde-uml2
by stephane (Pierre) Carrie
http://ontomde.rubyforge.org

== DESCRIPTION:

ontoMDE-uml2 contains UML2 meta-model and helper files to manipulate a UML2 model.
ontoMDE-uml2 uses ontoMDA-core which provides core fonctionalities for loading a model in RDF/RDFS format. ontoMDE-UML2 is used by ontoMDE-java which contains rules for generating java Code.

== FEATURES/PROBLEMS:

* UML2 meta-model definition in RDFS format
* Ruby helper methods for handling a UML2 model.
* UML Stereotype handling helpers.
* UML predefined enumerations handling helper.
* UML model manipulations helpers (add interface implementations, transform multiple inheritance into single inheritance, ...)


== SYNOPSIS:

require 'ontomde-uml2'

# create a new empty model.
model=Crdf_Model.new

# loads UML2 meta-model
model.loadUML2

# loads your UML2 model
model.loadModelFromFile("YourUML2ModelFile.emx.nt",true)

# display name of every UML element with a name
module Muml_NamedElement
def disp
puts "Name=#uml_name"
end
end
# ignore every other model element
module Crdf_Ressource
def disp
#do nothing
end
end

model.each { |k,c|
c.disp
}

== REQUIREMENTS:

* requires ontomde-core

== INSTALL:

* (UNIX) sudo gem install ontomde-uml2
* (WIN) gem install ontomde-uml2

Additional information is available on ontoMDE web site :
http://ontomde.rubyforge.org/website/download.html
== LICENSE:

Copyright (C) 2008 Orange-labs
38 rue General Leclerc
92130 ISSY LES MOULINEAUX, France

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/.