org.geotoolkit.metadata
Class NullValuePolicy

Object
  extended by NullValuePolicy

Deprecated. Moved to Apache SIS ValueExistencePolicy.

@Deprecated
public final class NullValuePolicy
extends Object

Whatever MetadataStandard.asMap(...) should contain entries for null values or empty collections. By default the map does not provide entries for null metadata attributes or empty collections. This enumeration allows control on this behavior.

Since:
3.03
Version:
3.03
Author:
Martin Desruisseaux (Geomatys)
See Also:
MetadataStandard.asMap(Object, ValueExistencePolicy, KeyNamePolicy)
Module:
metadata/geotk-metadata (download)    View source code for this class

Field Summary
static ValueExistencePolicy ALL
          Deprecated. Includes all entries in the map, including those having a null value or an empty collection.
static ValueExistencePolicy NON_EMPTY
          Deprecated. Includes only the attributes that are non-null and, in the case of collections, non-empty.
static ValueExistencePolicy NON_NULL
          Deprecated. Includes only the non-null attributes.
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final ValueExistencePolicy ALL
Deprecated. 
Includes all entries in the map, including those having a null value or an empty collection.


NON_NULL

public static final ValueExistencePolicy NON_NULL
Deprecated. 
Includes only the non-null attributes. Collections are included no matter if they are empty or not.


NON_EMPTY

public static final ValueExistencePolicy NON_EMPTY
Deprecated. 
Includes only the attributes that are non-null and, in the case of collections, non-empty. This is the default behavior of AbstractMetadata.asMap().



Copyright © 2009-2013 Geotoolkit.org. All Rights Reserved.