View Javadoc

1   /*
2    * UML2MMBase module.
3    *
4    * The contents of this file are subject to the Mozilla Public License
5    * Version 1.0 (the "License"); you may not use this file except in
6    * compliance with the License. You may obtain a copy of the License at
7    * http://www.mozilla.org/MPL/
8    *
9    * Software distributed under the License is distributed on an "AS IS"
10   * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
11   * License for the specific language governing rights and limitations
12   * under the License.
13   */
14  
15  package com.finalist.mmbase.uml;
16  
17  import org.omg.uml.foundation.core.ModelElement;
18  
19  /***
20   * Value object that models all relation definitions that are
21   * defined in the application configuration.
22   *
23   * Copyright 2003 Finalist IT-Group -- all rights reserved
24   *
25   * @author Kors van Beem.
26   * @version $Revision: 1.3 $, $Date: 2004/10/23 08:54:39 $
27   *
28   */
29  public class MMBaseRelationDefinitionVo {
30     
31     private String relationDefinitionName;
32     private String relationDirection;
33     private String builderName;
34  
35     /***
36      * The constructor
37      *
38      * @param relationDefinitionName Name of the relationDefinition.
39      * @param relationDirection Contains the direction of the associationDefinition.
40      * @param builderName Contains the name of the builderfile to implement this relation.
41      
42      */
43     public MMBaseRelationDefinitionVo (String relationDefinitionName,
44                                        String relationDirection,
45                                        String builderName) {
46                                
47        this.relationDefinitionName = relationDefinitionName;
48        this.relationDirection = relationDirection;
49        this.builderName = builderName;
50     }
51  
52     /***
53      * get relationDefinitionName
54      * @return the relationDefinitionName
55      */
56     public String getRelationDefinitionName() {
57        return relationDefinitionName;
58     }
59  
60     /***
61      * setter of relationDefinitionName
62      * @param relationDefinitionName the relationDefinitionName
63      */
64     public void setRelationDefinitionName(String relationDefinitionName) {
65        this.relationDefinitionName = relationDefinitionName;
66     }
67  
68     /***
69      * Getter of the relationDirection.
70      * @return the relationDirection.
71      */
72     public String getRelationDirection() {
73        return relationDirection;
74     }
75  
76     /***
77      * Setter of the stereo relationDirection.
78      * @param relationDirection the stereorelationDirection
79      */
80     public void setRelationDirection(String relationDirection) {
81        this.relationDirection = relationDirection;
82     }
83  
84     /***
85      * Getter of the builderName.
86      * @return the builderName.
87      */
88     public String getBuilderName() {
89        return builderName;
90     }
91  
92     /***
93      * Setter of the stereo builderName.
94      * @param builderName the builderName.
95      */
96     public void setBuilderName(String builderName) {
97        this.builderName = builderName;
98     }
99  }