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

org.cesecore.util.ui.MultiLineString Maven / Gradle / Ivy

/*************************************************************************
 *                                                                       *
 *  CESeCore: CE Security Core                                           *
 *                                                                       *
 *  This software is free software; you can redistribute it and/or       *
 *  modify it under the terms of the GNU Lesser General Public           *
 *  License as published by the Free Software Foundation; either         *
 *  version 2.1 of the License, or any later version.                    *
 *                                                                       *
 *  See terms of license at gnu.org.                                     *
 *                                                                       *
 *************************************************************************/
package org.cesecore.util.ui;

import java.io.Serializable;

/**
 * Representation of a multi-line String (text area) for use with DynamicUiProperty.
 * 
 * Since the type of DynamicUiProperty determines how it should be rendered (for example in this
 * case a HTML input of type "textarea"), this class is needed as a distinction from a regular
 * String (that is assumed to be a single line).
 * 
 * @version $Id: MultiLineString.java 23803 2016-07-06 15:40:37Z jeklund $
 */
public class MultiLineString implements Serializable {

    private static final long serialVersionUID = 1L;

    private String value;

    public MultiLineString(final String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(final String value) {
        this.value = value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy