1
2
3
4
5
6 package org.apache.maven.model;
7
8
9
10
11
12
13
14
15 @SuppressWarnings( "all" )
16 public class IssueManagement
17 implements java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker
18 {
19
20
21
22
23
24
25
26
27 private String system;
28
29
30
31
32 private String url;
33
34
35
36
37 private java.util.Map<Object, InputLocation> locations;
38
39
40
41
42
43
44
45
46
47
48
49 public IssueManagement clone()
50 {
51 try
52 {
53 IssueManagement copy = (IssueManagement) super.clone();
54
55 if ( copy.locations != null )
56 {
57 copy.locations = new java.util.LinkedHashMap( copy.locations );
58 }
59
60 return copy;
61 }
62 catch ( java.lang.Exception ex )
63 {
64 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
65 + " does not support clone()" ).initCause( ex );
66 }
67 }
68
69
70
71
72
73
74
75 public InputLocation getLocation( Object key )
76 {
77 return ( locations != null ) ? locations.get( key ) : null;
78 }
79
80
81
82
83
84
85 public String getSystem()
86 {
87 return this.system;
88 }
89
90
91
92
93
94
95 public String getUrl()
96 {
97 return this.url;
98 }
99
100
101
102
103
104
105
106 public void setLocation( Object key, InputLocation location )
107 {
108 if ( location != null )
109 {
110 if ( this.locations == null )
111 {
112 this.locations = new java.util.LinkedHashMap<Object, InputLocation>();
113 }
114 this.locations.put( key, location );
115 }
116 }
117
118
119
120
121
122
123 public void setSystem( String system )
124 {
125 this.system = system;
126 }
127
128
129
130
131
132
133 public void setUrl( String url )
134 {
135 this.url = url;
136 }
137
138 }