litesoft
Diff Revisions
947
vs
948
for /trunk/Java/DATT/src/org/litesoft/datt/client/support/TwoStoryURLs.java
|
@@ -2,38 +2,31 @@ |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.bo.views.*; |
4 |
4 |
|
|
5 |
|
- |
public class TwoStoryURLs |
6 |
|
- |
{ |
7 |
|
- |
public static TwoStoryURLs deNull( TwoStoryURLs pURLs ) |
8 |
|
- |
{ |
|
5 |
+ |
public class TwoStoryURLs { |
|
6 |
+ |
public static TwoStoryURLs deNull( TwoStoryURLs pURLs ) { |
9 |
7 |
|
return (pURLs != null) ? pURLs : new TwoStoryURLs(); |
10 |
8 |
|
} |
11 |
9 |
|
|
12 |
10 |
|
private ObjectURL mStory0, mStory1; |
13 |
11 |
|
|
14 |
|
- |
public TwoStoryURLs( ObjectURL pStory0, ObjectURL pStory1 ) |
15 |
|
- |
{ |
|
12 |
+ |
public TwoStoryURLs( ObjectURL pStory0, ObjectURL pStory1 ) { |
16 |
13 |
|
mStory0 = pStory0; |
17 |
14 |
|
mStory1 = pStory1; |
18 |
15 |
|
} |
19 |
16 |
|
|
20 |
|
- |
public TwoStoryURLs( ObjectURL pStory ) |
21 |
|
- |
{ |
|
17 |
+ |
public TwoStoryURLs( ObjectURL pStory ) { |
22 |
18 |
|
this( pStory, null ); |
23 |
19 |
|
} |
24 |
20 |
|
|
25 |
|
- |
public TwoStoryURLs() |
26 |
|
- |
{ |
|
21 |
+ |
public TwoStoryURLs() { |
27 |
22 |
|
this( null, null ); |
28 |
23 |
|
} |
29 |
24 |
|
|
30 |
|
- |
public ObjectURL getStory0() |
31 |
|
- |
{ |
|
25 |
+ |
public ObjectURL getStory0() { |
32 |
26 |
|
return mStory0; |
33 |
27 |
|
} |
34 |
28 |
|
|
35 |
|
- |
public ObjectURL getStory1() |
36 |
|
- |
{ |
|
29 |
+ |
public ObjectURL getStory1() { |
37 |
30 |
|
return mStory1; |
38 |
31 |
|
} |
39 |
32 |
|
} |