public function setAttributes(StructAttributeContainer $structAttributeContainer) { $this->attributes = $structAttributeContainer; return $this; }