org.deegree.feature.types.property
Enum ValueRepresentation

java.lang.Object
  extended by java.lang.Enum<ValueRepresentation>
      extended by org.deegree.feature.types.property.ValueRepresentation
All Implemented Interfaces:
Serializable, Comparable<ValueRepresentation>

public enum ValueRepresentation
extends Enum<ValueRepresentation>

Enum for object-valued property types that determines whether the object value can be represented in-line, remote (by-reference) or both.

Version:
$Revision: 21435 $, $Date: 2009-12-14 16:11:43 +0100 (Mon, 14 Dec 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
FeaturePropertyType, GeometryPropertyType

Enum Constant Summary
BOTH
          Object value can be represented both as an inline value or a remote value (reference).
INLINE
          Object value can only be represented as an inline value.
REMOTE
          Object value can only be represented as a remote value (reference).
 
Method Summary
static ValueRepresentation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValueRepresentation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INLINE

public static final ValueRepresentation INLINE
Object value can only be represented as an inline value.


REMOTE

public static final ValueRepresentation REMOTE
Object value can only be represented as a remote value (reference).


BOTH

public static final ValueRepresentation BOTH
Object value can be represented both as an inline value or a remote value (reference).

Method Detail

values

public static ValueRepresentation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ValueRepresentation c : ValueRepresentation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ValueRepresentation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.