Package ccm :: Class CCMObject |
[hide private]
[frames] | no frames]

# Class CCMObject

source code

      object --+
               |
    FourPartName --+
                   |
                  CCMObject

Base class for any Synergy object.

Instance Methods | [hide private]
__init__(self, session, fpn) Create a FourPartName object based on a ifpn string. | source code
_getsession(self) | source code
session(self) | source code
exists(self) Check if an the object exists in the database. | source code
__setitem__(self, name, value) | source code
__getitem__(self, name) Provides access to Synergy object attributes through the dictionary item interface. | source code
create_attribute(self, name, type_, value=None) | source code
keys(self) The list of supported Synergy attributes. | source code
is_predecessor_of(self, o) | source code
predecessors(self) | source code
successors(self) | source code
is_recursive_predecessor_of(self, o) | source code
is_recursive_predecessor_of_fast(self, o) Fast implementation of the recursive is_predecessor_of method. | source code
is_recursive_sucessor_of(self, o) | source code
is_recursive_successor_of_fast(self, o) Fast implementation of the recursive is_successor_of method. | source code
relate(self, ccm_object) | source code
finduse(self) Tries to find where an object is used. | source code
Inherited from `FourPartName`: `__eq__`, `__ne__`, `__repr__`, `__str__`, `family`, `instance`, `is_same_family`, `name`, `objectname`, `type`, `version` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Static Methods | [hide private]
Inherited from `FourPartName`: `convert`, `is_valid`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, session, fpn) (Constructor) | source code
Create a FourPartName object based on a ifpn string. The string have to match the following patterns: - name-version:type:instance - name:version:releasedef:instance - Task database#id - Folder database#id Anything else is considered as old release string format. Overrides: FourPartName.__init__ (inherited documentation)