PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/libformula-1.1.3/source/org/pentaho/reporting/libraries/formula/typing/Type.java

#
Java | 46 lines | 20 code | 5 blank | 21 comment | 0 complexity | 16cf75cbb4fe29bd2656abded16b5ec6 MD5 | raw file
Possible License(s): LGPL-2.1
 1/*
 2 * This program is free software; you can redistribute it and/or modify it under the
 3 * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
 4 * Foundation.
 5 *
 6 * You should have received a copy of the GNU Lesser General Public License along with this
 7 * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
 8 * or from the Free Software Foundation, Inc.,
 9 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU Lesser General Public License for more details.
14 *
15 * Copyright (c) 2006 - 2009 Pentaho Corporation and Contributors.  All rights reserved.
16 */
17
18package org.pentaho.reporting.libraries.formula.typing;
19
20import java.io.Serializable;
21
22/**
23 * Creation-Date: 02.11.2006, 09:32:21
24 *
25 * @author Thomas Morgner
26 */
27public interface Type extends Serializable
28{
29  public static final String NUMERIC_UNIT = "unit.numeric";
30  public static final String NUMERIC_TYPE = "type.numeric";
31  public static final String TEXT_TYPE = "type.text";
32  public static final String LOGICAL_TYPE = "type.logical";
33  public static final String SCALAR_TYPE = "type.scalar";
34  public static final String ANY_TYPE = "type.any";
35  public static final String ERROR_TYPE = "type.error";
36  public static final String DATE_TYPE = "type.date";
37  public static final String TIME_TYPE = "type.time";
38  public static final String DATETIME_TYPE = "type.datetime";
39  public static final String ARRAY_TYPE = "type.array";
40  public static final String SEQUENCE_TYPE = "type.sequence";
41
42  public static final String NUMERIC_SEQUENCE_TYPE = "type.numeric.sequence";
43
44  public boolean isFlagSet (String name);
45  public Object getProperty (String name);
46}