Project

General

Profile

skeleton.patch

Marian Edu, 04/15/2020 11:21 AM

Download (26.5 KB)

View differences:

.bzrignore 2020-04-15 15:14:26 +0000
4 4
*.parser
5 5
*.pphints
6 6
*.jast
7
.project
oo4gl/OpenEdge/Core/Assertion/AssertObject.cls 2020-04-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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-15 15:14:26 +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():
oo4gl/OpenEdge/Core/String.cls 2020-04-15 15:14:26 +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/Logging/VoidLogger.cls 2020-04-15 15:14:26 +0000
1
class OpenEdge.Logging.VoidLogger final
2
  implements OpenEdge.Logging.ILogWriter:
3
  define public property LogLevel as OpenEdge.Logging.LogLevelEnum get.
4

  
5
  define public property Name as character get.
6

  
7
  constructor public VoidLogger(p1 as character):
8
  end.
9
  
10
  method public void Debug(p1 as character):
11
  end.
12

  
13
  method public void Debug(p1 as character, p2 as character):
14
  end.
15

  
16
  method public void Debug(p1 as character, p2 as character, p3 as Progress.Lang.Error):
17
  end.
18

  
19
  method public void Debug(p1 as character, p2 as Progress.Lang.Error):
20
  end.
21

  
22
  method public void Debug(p1 as OpenEdge.Logging.LogMessage):
23
  end.
24

  
25
  method public void Debug(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
26
  end.
27

  
28
  method public void Error(p1 as character):
29
  end.
30

  
31
  method public void Error(p1 as character, p2 as character):
32
  end.
33

  
34
  method public void Error(p1 as character, p2 as character, p3 as Progress.Lang.Error):
35
  end.
36

  
37
  method public void Error(p1 as character, p2 as Progress.Lang.Error):
38
  end.
39

  
40
  method public void Error(p1 as OpenEdge.Logging.LogMessage):
41
  end.
42

  
43
  method public void Error(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
44
  end.
45

  
46
  method public void Fatal(p1 as character):
47
  end.
48

  
49
  method public void Fatal(p1 as character, p2 as character):
50
  end.
51

  
52
  method public void Fatal(p1 as character, p2 as character, p3 as Progress.Lang.Error):
53
  end.
54

  
55
  method public void Fatal(p1 as character, p2 as Progress.Lang.Error):
56
  end.
57

  
58
  method public void Fatal(p1 as OpenEdge.Logging.LogMessage):
59
  end.
60

  
61
  method public void Fatal(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
62
  end.
63

  
64
  method public void Info(p1 as character):
65
  end.
66

  
67
  method public void Info(p1 as character, p2 as character):
68
  end.
69

  
70
  method public void Info(p1 as character, p2 as character, p3 as Progress.Lang.Error):
71
  end.
72

  
73
  method public void Info(p1 as character, p2 as Progress.Lang.Error):
74
  end.
75

  
76
  method public void Info(p1 as OpenEdge.Logging.LogMessage):
77
  end.
78

  
79
  method public void Info(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
80
  end.
81

  
82
  method public void Trace(p1 as character):
83
  end.
84

  
85
  method public void Trace(p1 as character, p2 as character):
86
  end.
87

  
88
  method public void Trace(p1 as character, p2 as character, p3 as Progress.Lang.Error):
89
  end.
90

  
91
  method public void Trace(p1 as character, p2 as Progress.Lang.Error):
92
  end.
93

  
94
  method public void Trace(p1 as OpenEdge.Logging.LogMessage):
95
  end.
96

  
97
  method public void Trace(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
98
  end.
99

  
100
  method public void Warn(p1 as character):
101
  end.
102

  
103
  method public void Warn(p1 as character, p2 as character):
104
  end.
105

  
106
  method public void Warn(p1 as character, p2 as character, p3 as Progress.Lang.Error):
107
  end.
108

  
109
  method public void Warn(p1 as character, p2 as Progress.Lang.Error):
110
  end.
111

  
112
  method public void Warn(p1 as OpenEdge.Logging.LogMessage):
113
  end.
114

  
115
  method public void Warn(p1 as OpenEdge.Logging.LogMessage, p2 as Progress.Lang.Error):
116
  end.
117

  
118
end.
oo4gl/OpenEdge/Net/HTTP/HttpHeader.cls 2020-04-15 15:14:26 +0000
5 5

  
6 6
  define public property ParamDelimiter as character get.
7 7

  
8
  define public property Value as character get.
8
  define public property Value as character get. set.
9 9

  
10 10
  constructor public HttpHeader():
11 11
  end.
......
16 16
  constructor public HttpHeader(p1 as character, p2 as character):
17 17
  end.
18 18

  
19
  method public void ClearParams():
19
  method protected void ClearParams():
20 20
  end.
21 21

  
22 22
  method public void ExtractParameters():
......
31 31
  method public character GetParameterValues():
32 32
  end.
33 33

  
34
  method public character GetValue():
34
  method protected character GetValue():
35 35
  end.
36 36

  
37 37
  method public logical HasParameter(p1 as character):
......
43 43
  method public logical SetParameterValue(p1 as character, p2 as character):
44 44
  end.
45 45

  
46
  method public void SetValue(p1 as character):
46
  method protected void SetValue(p1 as character):
47 47
  end.
48 48

  
49 49
  method public override character ToString():
50 50
  end.
51 51

  
52
  method public void Validate(p1 as character):
52
  method protected void Validate(p1 as character):
53 53
  end.
54 54
end.
oo4gl/OpenEdge/Net/HTTP/HttpHeaderCollection.cls 2020-04-15 15:14:26 +0000
17 17
  method public OpenEdge.Net.HTTP.HttpHeader Get(p1 as character):
18 18
  end.
19 19

  
20
  method public integer GetAll(p1 as OpenEdge.Net.HTTP.HttpHeader extent):
20
  method public integer GetAll(output p1 as OpenEdge.Net.HTTP.HttpHeader extent):
21 21
  end.
22 22

  
23 23
  method public logical Has(p1 as character):
oo4gl/OpenEdge/Net/HTTP/Lib/ClientLibraryBuilder.cls 2020-04-15 15:14:26 +0000
10 10
  method static public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder Build ().
11 11
  end.
12 12
  
13
  method static public void InitializeRegistry (input p1 as OpenEdge.Net.HTTP.BuilderRegistry).
14
  end.
15
  
16 13
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder Option (input p1 as character, input p2 as character).
17 14
  end.
18 15
  
......
28 25
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder Option (input p1 as character, input p2 as Progress.Lang.Object).
29 26
  end.
30 27
  
28
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder ReuseSession(input p1 as logical):
29
  end.
30
  
31
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder ServerNameIndicator(input p1 as character):
32
  end.
33
  
31 34
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder SetRequestTimeout (input p1 as decimal).
32 35
  end.
33 36
  
......
43 46
  method public OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder UsingLogger (input p1 as OpenEdge.Logging.ILogWriter).
44 47
  end.
45 48
  
46
  define public abstract property Library as OpenEdge.Net.HTTP.IHttpClientLibrary get. set.
47
  define public property PROP_SSL_CIPHERS as character get. set.
48
  define public property PROP_SSL_HOSTVERIFY as character get. set.
49
  define public property PROP_SSL_PROTOCOLS as character get. set.
49
  define public abstract property Library as OpenEdge.Net.HTTP.IHttpClientLibrary get.
50
  define protected property PROP_SSL_CIPHERS as character get.
51
  define protected property PROP_SSL_HOSTVERIFY as character get.
52
  define protected property PROP_SSL_PROTOCOLS as character get.
53
  define protected property PROP_REUSESESSION as character no-undo get.
54
  define protected property PROP_SERVERNAME as character no-undo get.
55
  
50 56
  define public static property Registry as OpenEdge.Net.HTTP.BuilderRegistry get. set.
51 57

  
52 58
end.
oo4gl/OpenEdge/Net/MimeTypeHelper.cls 2020-04-15 15:14:26 +0000
15 15
	method public static logical IsXML (input p1 as character).
16 16
	end.
17 17
	
18
	method public static character SplitType (input p1 as character).
18
	method public static character extent 2 SplitType (input p1 as character).
19 19
	end.
20 20
	
21 21
end class.
oo4gl/OpenEdge/Net/UriEncodingTypeEnum.cls 2020-04-15 15:14:26 +0000
1 1
// TODO: convert to enum when FWD supports it
2
class OpenEdge.Net.UriEncodingTypeEnum:
2
class OpenEdge.Net.UriEncodingTypeEnum
3
inherits Progress.Lang.Enum:
3 4
  // TODO: add members here, as you find them
4 5
  
5 6
  define public static property Query as OpenEdge.Net.UriEncodingTypeEnum get.
6 7
  define public static property Default as OpenEdge.Net.UriEncodingTypeEnum get.
8
  define public static property Scheme   as OpenEdge.Net.UriEncodingTypeEnum get.
9
  define public static property Host     as OpenEdge.Net.UriEncodingTypeEnum get.
10
  define public static property Path     as OpenEdge.Net.UriEncodingTypeEnum get.
11
  define public static property Fragment as OpenEdge.Net.UriEncodingTypeEnum get.
12
  define public static property Cookie   as OpenEdge.Net.UriEncodingTypeEnum get.
7 13
  
14
  method static public OpenEdge.Core.HashAlgorithmEnum GetEnum(input name as char):
15
  end method.
16
   
17
  method static public OpenEdge.Core.HashAlgorithmEnum GetEnum(input val as int64):
18
  end method.
19
   
8 20
end.
oo4gl/Progress/Lang/Enum.cls 2020-04-15 15:14:26 +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