git/GitRepositoryObject.st
changeset 23 5cbdd3cb7ce4
child 28 f6f0a4bbaaee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/git/GitRepositoryObject.st	Sun Sep 30 22:13:12 2012 +0000
@@ -0,0 +1,49 @@
+"{ Package: 'stx:libscm/git' }"
+
+GitLibraryObject subclass:#GitRepositoryObject
+	instanceVariableNames:'repository'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'SCM-Git-Model'
+!
+
+!GitRepositoryObject class methodsFor:'documentation'!
+
+documentation
+"
+    An abstract superclass for all objects that know the
+    repository they belong to
+
+    [author:]
+        Jan Vrany <jan.vrany@fit.cvut.cz>
+
+    [instance variables:]
+        repository      <GitRepository> a repository which the object
+                                        belong to.
+
+    [class variables:]
+
+    [see also:]
+
+"
+! !
+
+!GitRepositoryObject methodsFor:'accessing'!
+
+repository
+    ^ repository
+! !
+
+!GitRepositoryObject methodsFor:'initialization'!
+
+setRepository: aGitRepository
+    repository := aGitRepository
+
+    "Created: / 10-09-2012 / 18:50:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!GitRepositoryObject class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id::                                                                                                                        $'
+! !