intarsys runtime library

de.intarsys.tools.functor
Class EnumStyle

java.lang.Object
  extended by de.intarsys.tools.enumeration.EnumItem
      extended by de.intarsys.tools.functor.EnumStyle
All Implemented Interfaces:
Comparable

public class EnumStyle
extends EnumItem

An enumeration of the supported styles for marshalling return values.

Supported styles are LITERAL to literally include the whole object in the return value (using an appropriate serializing)and REFERENCE to indicate the object is returned by reference.


Field Summary
static String ARG_STYLE
           
static EnumStyle LITERAL
           
static EnumMeta META
          The meta data for the enumeration.
static EnumStyle REFERENCE
           
 
Constructor Summary
EnumStyle(String id)
           
 
Method Summary
static EnumStyle get(IArgs args)
           
 
Methods inherited from class de.intarsys.tools.enumeration.EnumItem
compareTo, getDescription, getIconName, getId, getLabel, getLocalizedLabel, getTip, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ARG_STYLE

public static final String ARG_STYLE
See Also:
Constant Field Values

META

public static final EnumMeta META
The meta data for the enumeration.


LITERAL

public static final EnumStyle LITERAL

REFERENCE

public static final EnumStyle REFERENCE
Constructor Detail

EnumStyle

public EnumStyle(String id)
Method Detail

get

public static EnumStyle get(IArgs args)

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.