1
2
3
4
5
6
7
8
9
10
11
12
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 }