Exemple #1
0
	def setup(self):
		# create the containers
		super(Object, self).setup()
		filesc = DirectContainer(slug='files')
		filesc.membershipResource = self
		filesc.hasMemberRelation = 'pcdm:hasFile'
		self.filesContainer = filesc
Exemple #2
0
 def setup(self):
     # create the containers
     super(Object, self).setup()
     filesc = DirectContainer(slug='files')
     filesc.membershipResource = self
     filesc.hasMemberRelation = 'pcdm:hasFile'
     self.filesContainer = filesc
Exemple #3
0
	def setup(self):
		super(Object, self).setup()
		fs = DirectContainer(slug='filesets')
		fs.membershipResource = self
		fs.hasMemberRelation = 'pcdm:hasFileSet'
		self.filesetsContainer = fs
Exemple #4
0
 def setup(self):
     super(Object, self).setup()
     fs = DirectContainer(slug='filesets')
     fs.membershipResource = self
     fs.hasMemberRelation = 'pcdm:hasFileSet'
     self.filesetsContainer = fs