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