-
Notifications
You must be signed in to change notification settings - Fork 924
/
Glarch.cs
179 lines (144 loc) · 3.09 KB
/
Glarch.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
using System;
using System.Collections;
namespace NHibernate.DomainModel
{
[Serializable]
public class Glarch : Super, GlarchProxy, ILifecycle, INamed
{
private int _version;
private GlarchProxy _next;
private short _order;
private IList _strings;
private Iesi.Collections.ISet _stringSets;
private IList _fooComponents;
private GlarchProxy[] _proxyArray;
private Iesi.Collections.ISet _proxySet;
private string _immutable;
private int _derivedVersion;
private object _any;
private int _x;
private Multiplicity _multiple;
public int X
{
get { return _x; }
set { _x = value; }
}
public int Version
{
get { return _version; }
set { this._version = value; }
}
/// <summary>
/// Gets or sets the _next
/// </summary>
public GlarchProxy Next
{
get { return _next; }
set { _next = value; }
}
/// <summary>
/// Gets or sets the _order
/// </summary>
public short Order
{
get { return _order; }
set { _order = value; }
}
/// <summary>
/// Gets or sets the _strings
/// </summary>
public IList Strings
{
get { return _strings; }
set { _strings = value; }
}
/// <summary>
/// Gets or sets the _stringSets
/// </summary>
//TODO: figure out why this is not in the mapping???
public Iesi.Collections.ISet StringSets
{
get { return _stringSets; }
set { _stringSets = value; }
}
/// <summary>
/// Gets or sets the _fooComponents
/// </summary>
public IList FooComponents
{
get { return _fooComponents; }
set { _fooComponents = value; }
}
/// <summary>
/// Gets or sets the _proxyArray
/// </summary>
public GlarchProxy[] ProxyArray
{
get { return _proxyArray; }
set { _proxyArray = value; }
}
/// <summary>
/// Gets or sets the _proxySet
/// </summary>
public Iesi.Collections.ISet ProxySet
{
get { return _proxySet; }
set { _proxySet = value; }
}
#region NHibernate.ILifecycle Members
public LifecycleVeto OnDelete(ISession s)
{
return LifecycleVeto.NoVeto;
}
public void OnLoad(ISession s, object id)
{
if ( ! ( ( (String) id ).Length==32 ) ) throw new ArgumentException("id problem");
}
public LifecycleVeto OnSave(ISession s)
{
return LifecycleVeto.NoVeto;
}
public LifecycleVeto OnUpdate(ISession s)
{
return LifecycleVeto.NoVeto;
}
#endregion
/// <summary>
/// Gets or sets the _immutable
/// </summary>
public string Immutable
{
get { return _immutable; }
set { _immutable = value; }
}
/// <summary>
/// Gets or sets the _derivedVersion
/// </summary>
public int DerivedVersion
{
get { return _derivedVersion; }
set { _derivedVersion = value; }
}
/// <summary>
/// Gets or sets the _any
/// </summary>
public object Any
{
get { return _any; }
set { _any = value; }
}
/// <summary>
/// Gets or sets the _multiple
/// </summary>
public Multiplicity Multiple
{
get { return _multiple; }
set { _multiple = value; }
}
public new string Name
{
get { return base._name; }
set { _name = value; }
}
}
}