1
2
3
4
5
6 package org.apache.maven.model;
7
8
9
10
11
12
13 @SuppressWarnings( "all" )
14 public class InputSource
15 implements java.io.Serializable, java.lang.Cloneable
16 {
17
18
19
20
21
22
23
24
25
26
27
28
29
30 private String modelId;
31
32
33
34
35
36
37
38
39
40 private String location;
41
42
43
44
45
46
47
48
49
50
51
52 public InputSource clone()
53 {
54 try
55 {
56 InputSource copy = (InputSource) super.clone();
57
58 return copy;
59 }
60 catch ( java.lang.Exception ex )
61 {
62 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
63 + " does not support clone()" ).initCause( ex );
64 }
65 }
66
67
68
69
70
71
72 public String getLocation()
73 {
74 return this.location;
75 }
76
77
78
79
80
81
82
83 public String getModelId()
84 {
85 return this.modelId;
86 }
87
88
89
90
91
92
93 public void setLocation( String location )
94 {
95 this.location = location;
96 }
97
98
99
100
101
102
103
104 public void setModelId( String modelId )
105 {
106 this.modelId = modelId;
107 }
108
109
110
111 @Override
112 public String toString()
113 {
114 return getModelId() + " " + getLocation();
115 }
116
117
118 }