1 /* 2 * JavaBean Tester (https://github.com/hazendaz/javabean-tester) 3 * 4 * Copyright 2012-2024 Hazendaz. 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 * http://www.apache.org/licenses/LICENSE-2.0.txt 10 * 11 * Contributors: 12 * CodeBox (Rob Dawson). 13 * Hazendaz (Jeremy Landis). 14 */ 15 package com.codebox.bean; 16 17 import lombok.Data; 18 import lombok.EqualsAndHashCode; 19 20 /** 21 * Instantiates a new sample extension bean. 22 */ 23 @Data 24 @EqualsAndHashCode(callSuper = false) 25 public class SampleExtensionBean extends SampleBean { 26 27 /** The extension. */ 28 private String extension; 29 30 /** 31 * Instantiates a new sample bean. Causes JVM to not create a default no-arg constructor. 32 * 33 * @param newString 34 * the new string 35 */ 36 public SampleExtensionBean(final String newString) { 37 super(newString); 38 } 39 }