Interface IGroupAs


public interface IGroupAs
A data object to record the group as selections.
  • Field Details

    • SINGLETON_GROUP_AS

      @NonNull static final IGroupAs SINGLETON_GROUP_AS
      A singleton instance representing a group-as for non-grouped (singleton) items.
  • Method Details

    • getGroupAsQName

      @Nullable IEnhancedQName getGroupAsQName()
      Get the qualified name for the group-as, which is used for JSON/YAML key naming.
      Returns:
      the qualified name, or null if this is a singleton group-as
    • getJsonGroupAsBehavior

      @NonNull JsonGroupAsBehavior getJsonGroupAsBehavior()
      Get the JSON group-as behavior that determines how grouped items are serialized in JSON/YAML formats.
      Returns:
      the JSON group-as behavior
    • getXmlGroupAsBehavior

      @NonNull XmlGroupAsBehavior getXmlGroupAsBehavior()
      Get the XML group-as behavior that determines how grouped items are serialized in XML format.
      Returns:
      the XML group-as behavior