View Javadoc
1   /*
2    * SPDX-License-Identifier: Apache-2.0
3    * See LICENSE file for details.
4    *
5    * Copyright 2012-2026 hazendaz
6    *
7    * Portions of initial baseline code (getter/setter test) by Rob Dawson (CodeBox)
8    */
9   package com.codebox.bean;
10  
11  import lombok.Data;
12  import lombok.EqualsAndHashCode;
13  
14  /**
15   * Instantiates a new sample extension bean.
16   */
17  @Data
18  @EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true)
19  public class SampleExtensionBean extends SampleBean {
20  
21      /** The extension. */
22      private String extension;
23  
24      /**
25       * Instantiates a new sample bean. Causes JVM to not create a default no-arg constructor.
26       *
27       * @param newString
28       *            the new string
29       */
30      public SampleExtensionBean(final String newString) {
31          super(newString);
32      }
33  }