Enum EMFModule.Feature

    • Enum Constant Detail

      • OPTION_USE_ID

        public static final EMFModule.Feature OPTION_USE_ID
        Option used to indicate the module to use the default ID serializer if none are provided. The ID serializer used by default is IdSerializer.
      • OPTION_SERIALIZE_TYPE

        public static final EMFModule.Feature OPTION_SERIALIZE_TYPE
        Option used to indicate the module to use the default type serializer if none are provided. The type serializer used by default is ETypeSerializer.
      • OPTION_SERIALIZE_DEFAULT_VALUE

        public static final EMFModule.Feature OPTION_SERIALIZE_DEFAULT_VALUE
        Option used to indicate the module to serialize default attributes values. Default values are not serialized by default.
      • OPTION_USE_NAMES_FROM_EXTENDED_META_DATA

        public static final EMFModule.Feature OPTION_USE_NAMES_FROM_EXTENDED_META_DATA
        Option used to indicate whether feature names specified in ExtendedMetaData annotations should be respected.
    • Method Detail

      • values

        public static EMFModule.Feature[] 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 (EMFModule.Feature c : EMFModule.Feature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EMFModule.Feature 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
      • collectDefaults

        public static int collectDefaults()
      • enabledIn

        public boolean enabledIn​(int flags)
      • enabledByDefault

        public boolean enabledByDefault()
      • getMask

        public int getMask()