

class Bundle:
    def __init__(self, bundleId, name):
        self.bundleId = bundleId
        self.userId = None
        self.companyId = None
        self.name = name
        self.description = ""
        self.shared = false
        self.contributors = []
        self.architecture = []
        self.plugins = []

    def setDescription(self, description):
        self.description = description

    def addPluginId(self, plugin):
        self.plugin.append(plugin)

    def printBundle():
        print "Bundle :"
        print "bundleId:", self.bundleId
        print "userId:", self.userId
        print "companyId:", self.companyId
        print "name:", self.name
        print "description:", self.description
        print "shared:", self.shared
        print "contributors:", self.contributors
        print "architecture:", self.architecture
        print "plugins:", self.plugins
