code: public void setType(String type) {
      if(StringUtils.isBlank(type)) {
        setType(TYPE.UNSET);
      }
      else {
        if(TYPE.NEGATIVE.toString().equalsIgnoreCase(type.trim())) {
          setType(TYPE.NEGATIVE);
        }
        if(TYPE.NEUTRAL.toString().equalsIgnoreCase(type.trim())) {
          setType(TYPE.NEUTRAL);
        }
        if(TYPE.POSITIVE.toString().equalsIgnoreCase(type.trim())) {
          setType(TYPE.POSITIVE);
        }
        if(TYPE.UNSET.toString().equalsIgnoreCase(type.trim())) {
          setType(TYPE.UNSET);
        }
      }
    }
docs: Set sentiment polarity: "positive", "negative", or "neutral".
  
  @param type sentiment polarity
  
  @see #setType(SentimentAlchemyEntity.TYPE)