1 /* 2 * CSVeed (https://github.com/42BV/CSVeed) 3 * 4 * Copyright 2013-2023 CSVeed. 5 * 6 * All rights reserved. This program and the accompanying materials 7 * are made available under the terms of The Apache Software License, 8 * Version 2.0 which accompanies this distribution, and is available at 9 * https://www.apache.org/licenses/LICENSE-2.0.txt 10 */ 11 package org.csveed.report; 12 13 /** 14 * The Class RowPart. 15 */ 16 public class RowPart { 17 18 /** The token. */ 19 private String token; 20 21 /** The highlight. */ 22 private boolean highlight; 23 24 /** 25 * Instantiates a new row part. 26 * 27 * @param token 28 * the token 29 * @param highlight 30 * the highlight 31 */ 32 public RowPart(String token, boolean highlight) { 33 this.token = token; 34 this.highlight = highlight; 35 } 36 37 /** 38 * Gets the token. 39 * 40 * @return the token 41 */ 42 public String getToken() { 43 return token; 44 } 45 46 /** 47 * Checks if is highlight. 48 * 49 * @return true, if is highlight 50 */ 51 public boolean isHighlight() { 52 return highlight; 53 } 54 }