Project

General

Profile

skeleton.patch

Marian Edu, 04/07/2020 12:52 PM

Download (22.6 KB)

View differences:

.bzrignore 2020-04-07 16:27:48 +0000
4 4
*.parser
5 5
*.pphints
6 6
*.jast
7
.git
8
.gitignore
9
.project
oo4gl/OpenEdge/Core/Assertion/AssertObject.cls 2020-04-07 16:27:48 +0000
1
class OpenEdge.Core.Assertion.AssertObject: 
2

  
3
    method public static void Equals(input p1 as Progress.Lang.Object, input p2 as Progress.Lang.Object):
4
    end method.
5
    
6
    method public static void NotEqual(input p1 as Progress.Lang.Object, input p2 as Progress.Lang.Object):
7
    end method.
8
    
9
    method public static void NotNull(input p1 as Progress.Lang.Object , p2e as character):
10
    end method.
11

  
12
    method public static void NotNull(input p1 as Progress.Lang.Object):
13
    end method.
14
    
15
    method public static void IsNull(input p1 as Progress.Lang.Object , input p2 as character):
16
    end method.
17

  
18
    method public static void IsNull(input p1 as Progress.Lang.Object):
19
    end method.
20
    
21
    method public static void NotNull(input p1 as Progress.Lang.Object extent, p2 as character):
22
    end method.
23

  
24
    method public static void NotNull(input p1 as Progress.Lang.Object extent):
25
    end method.
26
    
27
    method public static void IsNull(input p1 as Progress.Lang.Object extent, p2 as character):
28
    end method.
29
    
30
    method public static void IsNull(input p1 as Progress.Lang.Object extent):
31
    end method.
32
    
33
    method public static void NotNullOrEmpty(input p1 as OpenEdge.Core.Collections.ICollection, p2 as character):
34
    end method.
35

  
36
    method public static void NotNullOrEmpty(input p1 as OpenEdge.Core.Collections.ICollection):
37
    end method.
38
    
39
    method public static void NotNullOrEmpty(input p1 as OpenEdge.Core.Collections.IMap, p2 as character):
40
    end method.
41

  
42
    method public static void NotNullOrEmpty(input p1 as OpenEdge.Core.Collections.IMap):
43
    end method.
44
    
45
    method public static void NotNullOrEmpty(input p1 as Progress.Lang.Object extent, p2 as character):
46
    end method.
47

  
48
    method public static void NotNullOrEmpty(input p1 as Progress.Lang.Object extent):
49
    end method.
50
    
51
    method public static void IsInterface(input p1 as Progress.Lang.Class):
52
    end method.
53
    
54
    method public static void NotInterface(input p1 as Progress.Lang.Class):
55
    end method.
56

  
57
    method public static void IsAbstract(input p1 as Progress.Lang.Class):
58
    end method.
59

  
60
    method public static void NotAbstract(input p1 as Progress.Lang.Class):
61
    end method.
62

  
63
    method public static void IsFinal(input p1 as Progress.Lang.Class):
64
    end method.
65

  
66
    method public static void NotFinal(input p1 as Progress.Lang.Class):
67
    end method.
68
    
69
    method public static void IsType(input p1 as Progress.Lang.Object extent, p2 as Progress.Lang.Class):
70
    end method.
71

  
72
    method public static void IsType(input p1 as Progress.Lang.Object, p2 as Progress.Lang.Class):
73
    end method.
74
    
75
    method public static void NotType(input p1 as Progress.Lang.Object, p2 as Progress.Lang.Class):
76
    end method.
77
    
78
    method public static void IsType(input p1 as handle,
79
        input p2 as OpenEdge.Core.DataTypeEnum,
80
        input p3 as character):
81
    end method.
82

  
83
    method public static void IsType(input p1 as handle,
84
        input p2 as OpenEdge.Core.DataTypeEnum):
85
    end method.
86
    
87
    method public static void NotType(input p1 as handle,
88
        input p2 as OpenEdge.Core.DataTypeEnum,
89
        input p3 as character):
90
    end method.
91

  
92
    method public static void NotType(input p1 as handle,
93
        input p2 as OpenEdge.Core.DataTypeEnum):
94
    end method.
95

  
96
    method public static void IsIndeterminateArray(input p1 as Progress.Lang.Object extent,
97
        input p2 as character):
98
    end method.
99

  
100
    method public static void IsIndeterminateArray(input p1 as Progress.Lang.Object extent):
101
    end method.
102
    
103
    method public static void HasDeterminateExtent(input p1 as Progress.Lang.Object extent,
104
        input p2 as character):
105
    end method.
106
    
107
    method public static void HasDeterminateExtent(input p1 as Progress.Lang.Object extent):
108
    end method.
109
    
110
    method public static void IsSerializable(input p1 as Progress.Lang.Object):
111
    end method.
112
    
113
    method public static void NotSerializable(input p1 as Progress.Lang.Object):
114
    end method.
115
end class.
oo4gl/OpenEdge/Core/ByteBucket.cls 2020-04-07 16:27:48 +0000
82 82

  
83 83
  method public void PutBytes(p1 as OpenEdge.Core.bytebucket):
84 84
  end.
85
  
86
  method public void PutBytes(p1 as OpenEdge.Core.Memptr):
87
  end.
85 88

  
86 89
  method public void PutBytes(p1 as int64, p2 as int64):
87 90
  end.
oo4gl/OpenEdge/Core/Collections/Array.cls 2020-04-07 16:27:48 +0000
1 1

  
2 2
class OpenEdge.Core.Collections.Array:
3
  define public property AutoExpand as logical get.
4

  
5
  define public property DiscardOnShrink as logical get.
6

  
7
  define public property Size as integer get.
8

  
9
  define public property Value as Progress.Lang.Object get.
3
  
4
  define public static variable DefaultArraySize as integer no-undo.
5
    
6
  define public property AutoExpand as logical get. set.
7
    
8
  define public property DiscardOnShrink as logical get. set.
9

  
10
  define public property Size as integer get. set.
11

  
12
  define protected property Value as Progress.Lang.Object extent get.
10 13

  
11 14
  constructor public Array():
12 15
  end.
......
32 35
  method public Progress.Lang.Object Clone():
33 36
  end.
34 37

  
35
  method public void CloneElements(p1 as OpenEdge.Core.Collections.ICollection):
38
  method protected void CloneElements(p1 as OpenEdge.Core.Collections.ICollection):
36 39
  end.
37 40

  
38 41
  method public logical Contains(p1 as Progress.Lang.Object):
......
59 62
  method public logical RetainAll(p1 as OpenEdge.Core.Collections.ICollection):
60 63
  end.
61 64

  
62
  method public void SetArraySize(p1 as integer):
63
  end.
64

  
65 65
  method public void SetValue(p1 as Progress.Lang.Object):
66 66
  end.
67 67

  
68 68
  method public void SetValue(p1 as Progress.Lang.Object, p2 as integer):
69 69
  end.
70 70

  
71
  method public Progress.Lang.Object ToArray():
71
  method public Progress.Lang.Object extent ToArray():
72 72
  end.
73 73

  
74
  method public void ToTable(table-handle p1):
74
  method public void ToTable(output table-handle p1):
75 75
  end.
76 76
end interface.
oo4gl/OpenEdge/Core/Collections/ICollection.cls 2020-04-07 16:27:48 +0000
1 1

  
2
interface OpenEdge.Core.Collections.ICollection:
2
interface OpenEdge.Core.Collections.ICollection inherits OpenEdge.Core.Collections.IIterable:
3 3

  
4 4
   define property size as int
5 5
      get.
oo4gl/OpenEdge/Core/Collections/IIterable.cls 2020-04-07 16:27:48 +0000
1
interface OpenEdge.Core.Collections.IIterable:
2
    method public OpenEdge.Core.Collections.IIterator Iterator().
3
end interface.
oo4gl/OpenEdge/Core/Collections/ResizeError.cls 2020-04-07 16:27:48 +0000
1
class OpenEdge.Core.Collections.ResizeError serializable inherits OpenEdge.Core.System.ApplicationError:
2
    constructor public ResizeError ():
3
    end constructor.
4
    
5
    constructor public ResizeError (input poErr as Progress.Lang.Error, input pcArgs1 as character, input pcArgs2 as character):
6
    end constructor.
7
    
8
    constructor public ResizeError (input pcArgs1 as character, input pcArgs2 as character):
9
    end constructor.
10

  
11
end class.
oo4gl/OpenEdge/Core/HashAlgorithmEnum.cls 2020-04-07 16:27:48 +0000
9 9
  
10 10
  /* this is mocked here but in the 4GL it is implicitly added to the child enum class */
11 11
   /* and the type is coded to that enum */
12
   method static public Progress.Lang.Enum GetEnum(input name as char):
12
   method static public OpenEdge.Core.HashAlgorithmEnum GetEnum(input name as char):
13 13
   end method.
14 14
   
15 15
   /* this is mocked here but in the 4GL it is implicitly added to the child enum class */
16 16
   /* and the type is coded to that enum */
17
   method static public Progress.Lang.Enum GetEnum(input val as int64):
17
   method static public OpenEdge.Core.HashAlgorithmEnum GetEnum(input val as int64):
18 18
   end method.
19 19
  
20 20
end.
oo4gl/OpenEdge/Core/Memptr.cls 2020-04-07 16:27:48 +0000
1 1
class OpenEdge.Core.Memptr:
2 2
  define public property AutoDestroy as logical get. set.
3 3

  
4
  define public property Empty as openedge.core.memptr get.
4
  define public static property Empty as OpenEdge.Core.Memptr get.
5 5

  
6 6
  define public property ExternalAllocation as logical get.
7 7

  
8
  define public property Size as int64 get.
8
  define public property Size as int64 get. set.
9 9

  
10 10
  define public property Value as openedge.core.memptr get.
11 11

  
......
33 33
  method public integer GetByte(p1 as int64):
34 34
  end.
35 35

  
36
  method public openedge.core.memptr GetBytes(p1 as int64):
36
  method public OpenEdge.Core.Memptr GetBytes(p1 as int64):
37 37
  end.
38 38

  
39
  method public openedge.core.memptr GetBytes(p1 as int64, p2 as int64):
39
  method public OpenEdge.Core.Memptr GetBytes(p1 as int64, p2 as int64):
40 40
  end.
41 41

  
42 42
  method public raw GetHash():
......
69 69
  method public void PutBytes(p1 as raw):
70 70
  end.
71 71

  
72
  method public override character ToString():
73
  end.
74

  
75 72
end.
oo4gl/OpenEdge/Core/String.cls 2020-04-07 16:27:48 +0000
62 62
  method public OpenEdge.Core.Collections.Array Split(p1 as character):
63 63
  end.
64 64

  
65
  method public static character Split(p1 as longchar):
65
  method public static character extent Split(p1 as longchar):
66 66
  end.
67 67

  
68
  method public static character Split(p1 as longchar, p2 as character):
68
  method public static character extent Split(p1 as longchar, p2 as character):
69 69
  end.
70 70

  
71 71
  method public static OpenEdge.Core.Collections.Array Split(p1 as OpenEdge.Core.String):
......
80 80
  method public void Trim():
81 81
  end.
82 82

  
83
  method public void Trim(p1 as character):
84
  end.
83 85

  
84 86
end class.
oo4gl/OpenEdge/Core/System/ApplicationError.cls 2020-04-07 16:27:48 +0000
1
class OpenEdge.Core.System.ApplicationError abstract serializable inherits Progress.Lang.AppError:
2
    
3
    define public property InnerError as Progress.Lang.Error get.
4
    
5
    
6
    method protected static void AddError(input poType as Progress.Lang.Class,
7
                                          input pcShortMessage as character,
8
                                          input pcMessage as longchar):                                           
9
    end method.
10
    
11
    constructor public ApplicationError():
12
    end constructor.
13
    
14
    constructor public ApplicationError(input poInnerError as Progress.Lang.Error):
15
    end constructor.
16
    
17
    
18
    method public character GetShortMessage():
19
    end method.
20
    
21
    method public longchar GetErrorMessage():
22
    end method.
23
        
24
end class.
oo4gl/OpenEdge/Net/HTTP/ClientBuilder.cls 2020-04-07 16:27:48 +0000
4 4
abstract:
5 5
  define public static property Registry as openedge.net.http.builderregistry get.
6 6

  
7
  define public property Client as openedge.net.http.ihttpclient get.
8

  
9
  define public property PROP_CLIENT_NAME as character get.
10

  
11
  define public property PROP_CLIENT_VERSION as character get.
7
  define abstract property Client as openedge.net.http.ihttpclient get.
8

  
9
  define protected property PROP_CLIENT_NAME as character get.
10

  
11
  define protected property PROP_CLIENT_VERSION as character get.
12 12

  
13 13
  method public static openedge.net.http.clientbuilder Build():
14 14
  end.
15
/*
16
  method public openedge.net.http.ihttpclientlibrary BuildLibrary():
15

  
16
  method protected openedge.net.http.ihttpclientlibrary BuildLibrary():
17 17
  end.
18
*/
18

  
19 19
  method public static openedge.net.http.ihttpclient DecorateClient(p1 as Progress.Lang.Class, p2 as openedge.net.http.ihttpclient):
20 20
  end.
21 21

  
22
  method public static void InitializeRegistry(p1 as openedge.net.http.builderregistry):
22
  method private static void InitializeRegistry(p1 as openedge.net.http.builderregistry):
23 23
  end.
24 24

  
25 25
  method public openedge.net.http.clientbuilder KeepCookies():
26 26
  end.
27
/*
28
  method public openedge.net.http.clientbuilder KeepCookies(p1 as icookiejar):
27

  
28
  method public openedge.net.http.clientbuilder KeepCookies(p1 as openedge.net.http.icookiejar):
29 29
  end.
30
*/
30

  
31 31
  method public openedge.net.http.clientbuilder Named(p1 as character, p2 as character):
32 32
  end.
33 33

  
......
39 39

  
40 40
  method public openedge.net.http.clientbuilder SetRetryPause(p1 as decimal):
41 41
  end.
42
/*
43
  method public openedge.net.http.clientbuilder UsingLibrary(p1 as ihttpclientlibrary):
42

  
43
  method public openedge.net.http.clientbuilder UsingLibrary(p1 as openedge.net.http.ihttpclientlibrary):
44 44
  end.
45
*/
45

  
46 46
  method public openedge.net.http.clientbuilder UsingLogger(p1 as openedge.logging.ilogwriter):
47 47
  end.
48 48

  
oo4gl/OpenEdge/Net/HTTP/Credentials.cls 2020-04-07 16:27:48 +0000
1
class OpenEdge.Net.HTTP.Credentials:
2
  define public property Domain as character get. set.
3

  
4
  define public property UserName as character get. set.
5

  
6
  define public property Password as character get.  set.
7

  
8
  constructor public Credentials().
9
  end.
10
  
11
  constructor public Credentials(pcDomain as character, pcUserName as character, pcPassword as character).
12
  end.
13
  
14
end.
oo4gl/OpenEdge/Net/HTTP/IHttpClientLibrary.cls 2020-04-07 16:27:48 +0000
1
interface OpenEdge.Net.HTTP.IHttpClientLibrary:
2
  method public openedge.net.http.ihttpresponse Execute(p1 as openedge.net.http.ihttprequest).
3

  
4
  method public void Execute(p1 as openedge.net.http.ihttprequest, p2 as openedge.net.http.ihttpresponse).
5

  
6
  define public property LibraryName as character get.
7

  
8
  define public property LibraryVersion as character get.
9

  
10
  define public property Options as openedge.net.http.clientoptions get.
11

  
12
end.
oo4gl/OpenEdge/Net/MimeTypeHelper.cls 2020-04-07 16:27:48 +0000
1
class OpenEdge.Net.MimeTypeHelper:
2
    
3
  constructor private MimeTypeHelper():
4
  end.
5
  
6
  method public static character extent 2 SplitType(p1 as character):
7
  end.
8
  
9
  method public static logical IsFormEncoded(p1 as character):
10
  end.
11
  
12
  method public static logical IsMultipart(p1 as character):
13
  end.
14
  
15
  method public static logical IsJson(p1 as character):
16
  end.
17
  
18
  method public static logical IsXML(p1 as character):
19
  end.
20
  
21
end.
oo4gl/Progress/Lang/Enum.cls 2020-04-07 16:27:48 +0000
5 5
   constructor private Progress.Lang.Enum():
6 6
   end constructor.
7 7
   
8
   method public static Progress.Lang.Enum ToObject(input enum-name as char, input mem-name as char):
9
   end method.
10
   
11
   method public static Progress.Lang.Enum ToObject(input enum-name as char, input val as int64):
12
   end method.
13
   
14 8
   method public integer CompareTo(input that as Progress.Lang.Enum):
15 9
   end method.
16 10