PageRenderTime 56ms CodeModel.GetById 28ms 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. package org.pentaho.reporting.libraries.formula.typing;
  18. import java.io.Serializable;
  19. /**
  20. * Creation-Date: 02.11.2006, 09:32:21
  21. *
  22. * @author Thomas Morgner
  23. */
  24. public interface Type extends Serializable
  25. {
  26. public static final String NUMERIC_UNIT = "unit.numeric";
  27. public static final String NUMERIC_TYPE = "type.numeric";
  28. public static final String TEXT_TYPE = "type.text";
  29. public static final String LOGICAL_TYPE = "type.logical";
  30. public static final String SCALAR_TYPE = "type.scalar";
  31. public static final String ANY_TYPE = "type.any";
  32. public static final String ERROR_TYPE = "type.error";
  33. public static final String DATE_TYPE = "type.date";
  34. public static final String TIME_TYPE = "type.time";
  35. public static final String DATETIME_TYPE = "type.datetime";
  36. public static final String ARRAY_TYPE = "type.array";
  37. public static final String SEQUENCE_TYPE = "type.sequence";
  38. public static final String NUMERIC_SEQUENCE_TYPE = "type.numeric.sequence";
  39. public boolean isFlagSet (String name);
  40. public Object getProperty (String name);
  41. }