MCVariableDefinition.st
author Claus Gittinger <cg@exept.de>
Sat, 20 Aug 2011 13:47:57 +0200
changeset 252 e0766b054cf9
parent 60 7476cb845887
child 372 5116350910ac
permissions -rw-r--r--
added: #version_CVS

"{ Package: 'stx:goodies/monticello' }"

Object subclass:#MCVariableDefinition
	instanceVariableNames:'name'
	classVariableNames:''
	poolDictionaries:''
	category:'Monticello-Modeling'
!


!MCVariableDefinition class methodsFor:'as yet unclassified'!

name: aString
	^ self new name: aString
	
! !

!MCVariableDefinition methodsFor:'accessing'!

name
	^ name
!

name: aString
	name := aString
! !

!MCVariableDefinition methodsFor:'as yet unclassified'!

printOn: aStream
	super printOn: aStream.
	aStream nextPut: $(; nextPutAll: self name; nextPut: $)
! !

!MCVariableDefinition methodsFor:'comparing'!

= other
	^ (self species = other species)
		and: [self name = other name]
!

hash
	^ name hash
! !

!MCVariableDefinition methodsFor:'testing'!

isClassInstanceVariable
	^ false
!

isClassInstanceVariableDefinition
	^ false
!

isClassVariable
	^ false
!

isInstanceVariable
	^ false
!

isInstanceVariableDefinition
	^ false
!

isPoolImport
	^ false
! !

!MCVariableDefinition class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.2 2011-08-20 11:47:57 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.2 2011-08-20 11:47:57 cg Exp $'
!

version_SVN
    ^ '§Id: MCVariableDefinition.st 5 2010-08-29 07:30:29Z vranyj1 §'
! !