@Value public static class Picture { String large, medium, small; } }
/** * @author Thomas Darimont */ @Value public class SubscriptionSummary { String product; Long usageCount; }
/** * A sample DTO only containing the firstname. * * @author Oliver Gierke */ @Value class CustomerDto { String firstname; }
@Value public static class Address { String city, street, zip; }
/** * @author Zhao Junjian */ @Value public class MessageRoute { private String exchange; private String routeKey; }
@Value public class PlayerLootReceived { private final Player player; private final Collection<ItemStack> items; }
/** * Called when the quantity of an item pile changes. */ @Value public class ItemQuantityChanged { private final Item item; private final Tile tile; private final int oldQuantity; private final int newQuantity; }
/** * An event where a new {@link GraphicsObject} has been created. */ @Value public class GraphicsObjectCreated { /** * The newly created graphics object. */ private final GraphicsObject graphicsObject; }
@Value public class NavigationButtonRemoved { private NavigationButton button; }
@Value private static class HiscoreLookup { private final String name; private final HiscoreEndpoint endpoint; }
@Value class HoveredFriend { private String friendName; private String note; }
/** * An event where the client has joined or left a clan chat. */ @Value public class ClanChanged { /** * Whether or not the client is now in a clan chat. */ private boolean joined; }
@Value public class GroundMarkerPoint { private int regionId; private int regionX; private int regionY; private int z; }
@Value public class ItemStack { private final int id; private final int quantity; private final LocalPoint location; }
@Value public class OverlayMenuEntry { private MenuAction menuAction; private String option; private String target; }
/** * A {@link User}. * * @author Oliver Gierke */ @Value public class User { private final @Id UUID id = UUID.randomUUID(); private final String username; }
@Value @Embeddable @RequiredArgsConstructor @SuppressWarnings("serial") public static class CustomerId implements Serializable { private final Long customerId; CustomerId() { this.customerId = null; } } }
/** * One of potentially multiple models that can be build from a single {@link LegoSet}. No getters or setters needed. * * @author Jens Schauder */ @Value @Wither(AccessLevel.PACKAGE) public class Model { String name, description; }
/** * @author Jens Schauder */ @Value @Wither(AccessLevel.PACKAGE) public class ModelReport { String modelName, description, setName; }
/** * @author Mark Paluch */ @Value @Table class Customer { @Id String id; String firstname, lastname; }