Package pybaz :: Class VersionItem
[frames] | no frames]

Class VersionItem

source code

     object --+                
              |                
NamespaceObject --+            
                  |            
        ArchiveItem --+        
                      |        
           CategoryItem --+    
                          |    
                 BranchItem --+
                              |
                             VersionItem
Known Subclasses:
Revision

Base class for Revision.

VersionItem provides features for the aspect of Revision which
relate to its containment within other archive objects.



Instance Methods
 
__init__(self, archive, version, patchlevel)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
get_branch(self)
Deprecated.
 
get_patchlevel(self)
Deprecated.
 
get_version(self)
Deprecated.

Inherited from CategoryItem: get_category

Inherited from ArchiveItem: get_archive, get_fullname, get_nonarch

Inherited from NamespaceObject: __eq__, __ne__, __repr__, __str__, exists

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties
  branch
Branch which contains this namespace object.
  patchlevel
Patch-level part of this object's name.
  version
Version which contains this revision.

Inherited from CategoryItem: category

Inherited from ArchiveItem: archive, fullname, nonarch

Inherited from object: __class__

Method Details

__init__(self, archive, version, patchlevel)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: ArchiveItem.__init__

get_branch(self)

 
Deprecated.

Branch which contains this object.

:rtype: `Branch`
:see: `BranchItem.branch`

Overrides: BranchItem.get_branch
(inherited documentation)

get_patchlevel(self)

 
Deprecated.

Patch-level part of this object's name.

:rtype: str
:see: `VersionItem.patchlevel`

get_version(self)

 
Deprecated.

Version which contains this revision.

:rtype: `Version`
:see: `VersionItem.version`


Property Details

branch


Branch which contains this namespace object.

:type: `Branch`

Get Method:
pybaz.VersionItem._get_branch(self)

patchlevel


Patch-level part of this object's name.

:type: str

Get Method:
pybaz.VersionItem._get_patchlevel(self)

version


Version which contains this revision.

:type: `Version`

Get Method:
pybaz.VersionItem._get_version(self)