Data Model version 2.0.6
Acknowledgements
Diagram | Class Map | Attribute Map | Method Map | Help | License
Home | Package | Class: { prev | next } | Attribute | Method

Class: Repository


    Data repository - database, directory, or server, where data are stored
Attributes
Link Attributes
Attribute Methods
Link Attribute Methods
Class Methods
Factory Methods
Other Methods
Appendix

Inheritance:


Details:

Parent: link memopsRoot to class MemopsRoot
Main key: name
Mandatory Attributes: name, url
Known Subclasses: None
Children: None
Constructor: newObj = Repository( memopsRoot,name=value, url=value, ... )

Attributes

Go to Top
Attribute Type Multiplicity Description
format StorageFormat 1..1 Format in which data are supplied (default is 'xml', meaning standard CCPN XML). May differ from the format in which data are actually stored.  
name Line 1..1 name of repository  
url Url 1..1 Url of data repository  

Inherited Attributes: classNamefieldNamesinConstructorisDeletedmetaclasspackageNamepackageShortNamequalifiedName

Link Attributes

Go to Top
Attribute Type Multiplicity Description
memopsRoot MemopsRoot 1..1 (Parent link). parent link  
parent MemopsRoot 1..1 link to parent object - synonym for memopsRoot  
stored PackageLocator 0..* Groups of packages (LocationInfo) stored in repository.  

Inherited Attributes: roottopObject

Attribute Methods (in class)

Go to Top
Attribute Method Return Parameters Comment
format
getFormat StorageFormat -
setFormat - StorageFormat
name
getName Line -
setName - Line
url
getUrl Url -
setUrl - Url

Link Attribute Methods (in class)

Go to Top
Attribute Method Return Parameters Comment
memopsRoot
getMemopsRoot MemopsRoot -
parent
getParent MemopsRoot -
stored
getStored PackageLocator Set -
setStored - PackageLocator Set
sortedStored PackageLocator List -
addStored - PackageLocator
removeStored - PackageLocator
findFirstStored PackageLocator keyword=value pairs
findAllStored PackageLocator Set keyword=value pairs

Class Methods (in class)

Go to Top
Method Return Parameters Comment
delete - -
checkValid - Boolean
checkAllValid - Boolean
getByKey Repository MemopsRoot, Any List static
getFullKey Any List Boolean
getLocalKey Any -
get Any String
set - String, Any

Factory Methods (in class)

Go to Top
Method Return Parameters
None

Other Methods (in class)

Go to Top
Method Return Parameters Comment
getFileLocation PathString Word non-std. get absolute file location for TopObject in repository

Appendix

Go to Top

guid:

www.ccpn.ac.uk_Fogh_2006-09-14-16:28:57_00004

isImplicit:

False

Tag

Value
repositoryId $Id: Repository.xml,v 1.57 2011-01-13 14:40:37 rhfogh Exp $

Tag

Value
repositoryTag $Name: not supported by cvs2svn $

Special constructor code:

None

Special destructor code:

None

Constraints:

None
Known inward one-way links: memops.api.Implementation.MemopsRoot.activeRepositoriesmemops.api.Implementation.TopObject.activeRepositories
  Data Model Version 2.0.6
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Wed Aug 7 15:06:17 2013    from data model package  memops.api.Implementation.Repository   revision 1.57  
  Work done by the CCPN team.
www.ccpn.ac.uk