60
|
1 |
"{ Package: 'stx:goodies/monticello' }"
|
|
2 |
|
|
3 |
Object subclass:#MCVariableDefinition
|
|
4 |
instanceVariableNames:'name'
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
695
|
7 |
category:'SCM-Monticello-Modeling'
|
60
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!MCVariableDefinition class methodsFor:'as yet unclassified'!
|
|
12 |
|
|
13 |
name: aString
|
|
14 |
^ self new name: aString
|
|
15 |
|
|
16 |
! !
|
|
17 |
|
|
18 |
!MCVariableDefinition methodsFor:'accessing'!
|
|
19 |
|
|
20 |
name
|
|
21 |
^ name
|
|
22 |
!
|
|
23 |
|
|
24 |
name: aString
|
252
|
25 |
name := aString
|
60
|
26 |
! !
|
|
27 |
|
|
28 |
!MCVariableDefinition methodsFor:'comparing'!
|
|
29 |
|
|
30 |
= other
|
|
31 |
^ (self species = other species)
|
|
32 |
and: [self name = other name]
|
|
33 |
!
|
|
34 |
|
|
35 |
hash
|
|
36 |
^ name hash
|
|
37 |
! !
|
|
38 |
|
726
|
39 |
!MCVariableDefinition methodsFor:'printing'!
|
|
40 |
|
|
41 |
printOn: aStream
|
|
42 |
super printOn: aStream.
|
|
43 |
aStream nextPut: $(; nextPutAll: self name; nextPut: $)
|
|
44 |
! !
|
|
45 |
|
60
|
46 |
!MCVariableDefinition methodsFor:'testing'!
|
|
47 |
|
|
48 |
isClassInstanceVariable
|
|
49 |
^ false
|
|
50 |
!
|
|
51 |
|
|
52 |
isClassInstanceVariableDefinition
|
|
53 |
^ false
|
|
54 |
!
|
|
55 |
|
|
56 |
isClassVariable
|
|
57 |
^ false
|
|
58 |
!
|
|
59 |
|
|
60 |
isInstanceVariable
|
|
61 |
^ false
|
|
62 |
!
|
|
63 |
|
|
64 |
isInstanceVariableDefinition
|
|
65 |
^ false
|
|
66 |
!
|
|
67 |
|
|
68 |
isPoolImport
|
|
69 |
^ false
|
|
70 |
! !
|
|
71 |
|
|
72 |
!MCVariableDefinition class methodsFor:'documentation'!
|
|
73 |
|
|
74 |
version
|
726
|
75 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.5 2013-01-18 13:02:44 cg Exp $'
|
252
|
76 |
!
|
|
77 |
|
|
78 |
version_CVS
|
726
|
79 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.5 2013-01-18 13:02:44 cg Exp $'
|
252
|
80 |
!
|
|
81 |
|
|
82 |
version_SVN
|
|
83 |
^ '§Id: MCVariableDefinition.st 5 2010-08-29 07:30:29Z vranyj1 §'
|
60
|
84 |
! !
|
726
|
85 |
|