/*
 * This file is subject to the licence found in LICENCE.TXT in the root directory of the project.
 * Copyright Jayasoft 2005 - All rights reserved
 * 
 * #SNAPSHOT#
 */
package fr.jayasoft.ivy.namespace;

public class NamespaceRule {
    private MRIDTransformationRule _fromSystem;
    private MRIDTransformationRule _toSystem;
    public MRIDTransformationRule getFromSystem() {
        return _fromSystem;
    }
    public void addFromsystem(MRIDTransformationRule fromSystem) {
        if (_fromSystem != null) {
            throw new IllegalArgumentException("only one fromsystem is allowed per rule");
        }
        _fromSystem = fromSystem;
    }
    public MRIDTransformationRule getToSystem() {
        return _toSystem;
    }
    public void addTosystem(MRIDTransformationRule toSystem) {
        if (_toSystem != null) {
            throw new IllegalArgumentException("only one tosystem is allowed per rule");
        }
        _toSystem = toSystem;
    }
}

@@ -235,24 +235,91 @@
 paceRule %7B%0D%0A
+    private String _name;%0D%0A    private String _description;%0D%0A    %0D%0A
     private 
@@ -398,24 +398,30 @@
 _toSystem;%0D%0A
+    %0D%0A
     public M
@@ -1068,11 +1068,315 @@
 %0A    %7D%0D%0A
+    public String getDescription() %7B%0D%0A        return _description;%0D%0A    %7D%0D%0A    public void setDescription(String description) %7B%0D%0A        _description = description;%0D%0A    %7D%0D%0A    public String getName() %7B%0D%0A        return _name;%0D%0A    %7D%0D%0A    public void setName(String name) %7B%0D%0A        _name = name;%0D%0A    %7D%0D%0A
 %7D%0D%0A

add a name and a description for documentation purpose