Class MAPCUG_Information.Cug_Features

    • Constructor Detail

      • Cug_Features

        public Cug_Features()
    • Method Detail

      • copyOf

        public static MAPCUG_Information.Cug_Features copyOf​(MAPCUG_Information.Cug_Features from)
        Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
        Parameters:
        from - the object from which to copy
        Returns:
        MAPCUG_Information.Cug_Features
      • getCug_Feature

        public MAPCUG_Feature_v1 getCug_Feature()
        Gets the value of the cug-Feature choice.
        Returns:
        value of the choice, if choice is cug-Feature, else null
      • getCug_FeatureList

        public MAPCUG_Feature_v1[] getCug_FeatureList()
        Gets the value of the cug-FeatureList choice.
        Returns:
        value of the choice, if choice is cug-FeatureList, else null
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
        Returns:
        FieldAccessor[]
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • isCug_FeatureChosen

        public boolean isCug_FeatureChosen()
        Tests whether the choice is cug-Feature.
        Returns:
        true if chosen, false if not
      • isCug_FeatureListChosen

        public boolean isCug_FeatureListChosen()
        Tests whether the choice is cug-FeatureList.
        Returns:
        true if chosen, false if not