All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.glassfish.jersey.examples.jackson1.NonJaxbBean Maven / Gradle / Ivy

There is a newer version: 2.45
Show newest version
/*
 * Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package org.glassfish.jersey.examples.jackson1;

/**
 * @author Jakub Podlesak (jakub.podlesak at oracle.com)
 */
public class NonJaxbBean {

    private String name = "non-JAXB-bean";
    private String description = "I am not a JAXB bean, just an unannotated POJO";
    private int[] array = {1, 1, 2, 3, 5, 8, 13, 21};

    public int[] getArray() {
        return array;
    }

    public void setArray(final int[] array) {
        this.array = array;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(final String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy