code: public void setType(TYPE type) {
      if(type == null) {
        type = TYPE.UNSET;
      }
      this.type = type;
    }
docs: Set sentiment polarity: "positive", "negative", or "neutral".
  
  @param type sentiment polarity