001package jmri.jmrit.signalsystemeditor; 002 003/** 004 * A string with a comment 005 * @author Daniel Bergqvist (C) 2022 006 */ 007public class StringWithComment { 008 009 private String _string; 010 private String _comment; 011 012 public StringWithComment(String string) { 013 this._string = string; 014 } 015 016 public void setString(String string) { 017 this._string = string; 018 } 019 020 public String getString() { 021 return this._string; 022 } 023 024 public void setComment(String comment) { 025 this._comment = comment; 026 } 027 028 public String getComment() { 029 return this._comment; 030 } 031 032}