xdev.tableexport.config.ContentColumn Maven / Gradle / Ivy
package xdev.tableexport.config;
/*-
* #%L
* XDEV BI Suite
* %%
* Copyright (C) 2011 - 2020 XDEV Software
* %%
* This program 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 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
/**
* Representation of a content (detail) column.
*
* @author XDEV Software(FHAE)
*/
public class ContentColumn extends AbstractColumn
{
private String pattern;
/**
* The Property is used as the column pattern.
*
* Sets the pattern used for this column.
* The pattern will be used in a SimpleDateFormat for dates and a DecimalFormat for numeric column fields.
* The pattern format must follow one of these two classes formatting rules, as specified in the JDK API docs.
*
* @param pattern
*/
@Override
public void setProperty(String pattern)
{
this.pattern = pattern;
}
/**
* Return the column pattern of this {@link ContentColumn}.
* @return
*
* @see #setProperty(String)
*/
@Override
public String getProperty()
{
return this.pattern;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy