code: public void setContents(Contents contents) {
  		this.contents = contents;
  		if (contents != null) {
  			this.tableName = contents.getId();
  		} else {
  			this.tableName = null;
  		}
  	}
docs: Set the contents
  
  @param contents
  contents