public function setSimpleAssociableChoices(SimpleAssociableChoiceCollection $simpleAssociableChoices)
    {
        if (count($simpleAssociableChoices) > 0) {
            $this->simpleAssociableChoices = $simpleAssociableChoices;
        } else {
            $msg = "An AssociateInteraction object must be composed of at lease one SimpleAssociableChoice object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSimpleAssociableChoices(SimpleAssociableChoiceCollection $simpleAssociableChoices)
    {
        if (count($simpleAssociableChoices) > 0) {
            $this->simpleAssociableChoices = $simpleAssociableChoices;
        } else {
            $msg = "An AssociateInteraction object must be composed of at lease one SimpleAssociableChoice object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSimpleAssociableChoices ( SimpleAssociableChoiceCollection $ simpleAssociableChoices ) { if ( count ( $ simpleAssociableChoices ) > 0 ) { $ this -> simpleAssociableChoices = $ simpleAssociableChoices ; } else { $ msg = "An AssociateInteraction object must be composed of at lease one SimpleAssociableChoice object, none given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the choices.

@param \qtism\data\content\interactions\SimpleAssociableChoiceCollection $simpleAssociableChoices A collection of at least one SimpleAssociableChoice object.
@throws \InvalidArgumentException If $simpleAssociableChoices is empty.
Set the choices .