author | Claus Gittinger <cg@exept.de> |
Fri, 18 Nov 2016 16:14:26 +0100 | |
changeset 1180 | 92753f6cc822 |
parent 880 | d0dc89f25137 |
permissions | -rw-r--r-- |
772 | 1 |
" |
2 |
Copyright (c) 2007-2010 Jan Vrany |
|
3 |
Copyright (c) 2009-2010 eXept Software AG |
|
4 |
||
5 |
Permission is hereby granted, free of charge, to any person |
|
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
25 |
" |
|
476 | 26 |
"{ Package: 'stx:libsvn' }" |
31 | 27 |
|
28 |
"{ NameSpace: SVN }" |
|
29 |
||
30 |
Object subclass:#Property |
|
31 |
instanceVariableNames:'name value modified' |
|
32 |
classVariableNames:'' |
|
33 |
poolDictionaries:'' |
|
34 |
category:'SVN-Core' |
|
35 |
! |
|
36 |
||
772 | 37 |
!Property class methodsFor:'documentation'! |
38 |
||
39 |
copyright |
|
40 |
" |
|
41 |
Copyright (c) 2007-2010 Jan Vrany |
|
42 |
Copyright (c) 2009-2010 eXept Software AG |
|
43 |
||
44 |
Permission is hereby granted, free of charge, to any person |
|
45 |
obtaining a copy of this software and associated documentation |
|
46 |
files (the 'Software'), to deal in the Software without |
|
47 |
restriction, including without limitation the rights to use, |
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
49 |
copies of the Software, and to permit persons to whom the |
|
50 |
Software is furnished to do so, subject to the following |
|
51 |
conditions: |
|
52 |
||
53 |
The above copyright notice and this permission notice shall be |
|
54 |
included in all copies or substantial portions of the Software. |
|
55 |
||
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
|
64 |
||
65 |
" |
|
66 |
! ! |
|
31 | 67 |
|
68 |
!Property class methodsFor:'instance creation'! |
|
69 |
||
70 |
name: name value: value |
|
71 |
||
72 |
^self new setName: name value: value |
|
73 |
||
74 |
"Created: / 10-10-2008 / 09:55:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
75 |
! ! |
|
76 |
||
772 | 77 |
!Property class methodsFor:'others'! |
78 |
||
79 |
version_CVS |
|
880
d0dc89f25137
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
772
diff
changeset
|
80 |
^ '$Header$' |
772 | 81 |
! ! |
82 |
||
31 | 83 |
!Property methodsFor:'accessing'! |
84 |
||
85 |
modified |
|
86 |
^ modified |
|
87 |
! |
|
88 |
||
89 |
modified:aBoolean |
|
90 |
modified := aBoolean. |
|
91 |
! |
|
92 |
||
93 |
name |
|
94 |
^ name |
|
95 |
||
96 |
"Created: / 10-10-2008 / 09:54:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
97 |
! |
|
98 |
||
99 |
name:aString |
|
100 |
name := aString. |
|
101 |
||
102 |
"Created: / 10-10-2008 / 09:54:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
103 |
! |
|
104 |
||
105 |
name:nameArg value:valueArg |
|
106 |
name := nameArg. |
|
107 |
value := valueArg. |
|
108 |
||
109 |
"Created: / 10-10-2008 / 09:54:49 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
110 |
! |
|
111 |
||
112 |
value |
|
113 |
^ value |
|
114 |
||
115 |
"Created: / 10-10-2008 / 09:54:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
116 |
! |
|
117 |
||
118 |
value:aString |
|
119 |
value := aString. |
|
120 |
modified := true |
|
121 |
||
122 |
"Created: / 10-10-2008 / 09:54:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
123 |
"Modified: / 23-03-2009 / 11:57:04 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
124 |
! ! |
|
125 |
||
126 |
!Property methodsFor:'initialization'! |
|
127 |
||
128 |
setName:nameArg value:valueArg |
|
129 |
name := nameArg. |
|
130 |
value := valueArg. |
|
131 |
||
132 |
"Created: / 10-10-2008 / 09:55:03 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
133 |
! ! |
|
134 |
||
135 |
!Property methodsFor:'testing'! |
|
136 |
||
137 |
isModified |
|
138 |
^ modified == true |
|
139 |
||
140 |
"Created: / 10-10-2008 / 09:54:34 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
141 |
"Modified: / 23-03-2009 / 11:42:38 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
142 |
! ! |
|
143 |
||
144 |
!Property class methodsFor:'documentation'! |
|
145 |
||
146 |
version |
|
880
d0dc89f25137
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
772
diff
changeset
|
147 |
^ '$Header$' |
206 | 148 |
! |
149 |
||
150 |
version_SVN |
|
880
d0dc89f25137
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
772
diff
changeset
|
151 |
^ '§Id: SVN__Property.st 363 2011-08-08 13:49:48Z vranyj1 §' |
31 | 152 |
! ! |