Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.io.datastore.schema.content
Class ConstantContent

    java.lang.Object
      org.deegree.io.datastore.schema.content.VirtualContent
          org.deegree.io.datastore.schema.content.ConstantContent

All Implemented Interfaces:
  FunctionParam, SimpleContent

    public class ConstantContent

extends VirtualContent
implements FunctionParam

Special content class for `MappedSimplePropertyType`s that contain constant string values.

Version:
  $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
  Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
`ConstantContent(String constant)` Initializes a newly created `ConstantContent` object so that it represents the given `String` value.

Method Summary
`String` | `getValue()` Returns the constant `String` that this object contains.
`boolean` | `isSortable()` Returns false, because it makes no sense to use a constant as a sort criterion.

Methods inherited from class org.deegree.io.datastore.schema.content.VirtualContent
`isUpdateable`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConstantContent

    public ConstantContent(String constant)

  Initializes a newly created `ConstantContent` object so that it represents the given `String` value.

  Parameters:
    `constant` -

Method Detail

### isSortable

    public boolean isSortable()

  Returns false, because it makes no sense to use a constant as a sort criterion.

  Specified by:
    `isSortable` in interface `SimpleContent`
  Returns:
    false, because it makes no sense to use a constant as a sort criterion.

### getValue

    public String getValue()

  Returns the constant `String` that this object contains.

  Returns:
    constant String that this object contains

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org