def ToManagedObject(self):
		"""
		Method creates and returns an object of ManagedObject class using the classId and information from the
		Generic managed object.
		"""
		from Ucs import ClassFactory

		cln = UcsUtils.WordU(self.classId)
		mo = ClassFactory(cln)
		if mo and (isinstance(mo, ManagedObject) == True):
			metaClassId = UcsUtils.FindClassIdInMoMetaIgnoreCase(self.classId)
			for property in self.properties:
				if UcsUtils.WordU(property) in UcsUtils.GetUcsPropertyMetaAttributeList(metaClassId):
					mo.setattr(UcsUtils.WordU(property), self.properties[property])
				else:
					# TODO: Add Warning/Error messages in Logger.
					WriteUcsWarning("Property %s Not Exist in MO %s" % (UcsUtils.WordU(property), metaClassId))

			if len(self.child):
				for ch in self.child:
					moch = ch.ToManagedObject()
					mo.child.append(moch)
			return mo
		else:
			return None
Method creates and returns an object of ManagedObject class using the classId and information from the
		Generic managed object.