1
2
3
4
5
6
7
8 package org.apache.maven.model;
9
10
11
12
13
14
15 @SuppressWarnings( "all" )
16 public class InputSource
17 implements java.io.Serializable, java.lang.Cloneable
18 {
19
20
21
22
23
24
25
26
27
28
29
30
31
32 private String modelId;
33
34
35
36
37
38
39
40
41
42 private String location;
43
44
45
46
47
48
49
50
51
52
53
54 public InputSource clone()
55 {
56 try
57 {
58 InputSource copy = (InputSource) super.clone();
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 public String getLocation()
75 {
76 return this.location;
77 }
78
79
80
81
82
83
84
85 public String getModelId()
86 {
87 return this.modelId;
88 }
89
90
91
92
93
94
95 public void setLocation( String location )
96 {
97 this.location = location;
98 }
99
100
101
102
103
104
105
106 public void setModelId( String modelId )
107 {
108 this.modelId = modelId;
109 }
110
111
112
113 @Override
114 public String toString()
115 {
116 return getModelId() + " " + getLocation();
117 }
118
119
120 }