@Action(
            semantics = SemanticsOf.IDEMPOTENT,
            publishing = Publishing.ENABLED
    )
    @ActionLayout(
            describedAs = "Updates name, description and count as sub-actions"
    )
    public PublishMqDemoObject updateNameAndDescriptionAndCount(
            @ParameterLayout(named="Name")
            final String name,
            @Parameter(optionality = Optionality.OPTIONAL)
            @ParameterLayout(named="Description")
            final String description,
            @Parameter(optionality = Optionality.OPTIONAL)
            @ParameterLayout(named="Count")
            final Integer count) {
        wrapperFactory.wrap(this).updateName(name);
        wrapperFactory.wrap(this).updateDescription(description);
        wrapperFactory.wrap(this).updateCount(count);
        return this;
    }
@ Action ( semantics = SemanticsOf . IDEMPOTENT , publishing = Publishing . ENABLED ) @ ActionLayout ( describedAs = "Updates name, description and count as sub-actions" ) public PublishMqDemoObject updateNameAndDescriptionAndCount ( @ ParameterLayout ( named = "Name" ) final String name , @ Parameter ( optionality = Optionality . OPTIONAL ) @ ParameterLayout ( named = "Description" ) final String description , @ Parameter ( optionality = Optionality . OPTIONAL ) @ ParameterLayout ( named = "Count" ) final Integer count ) { wrapperFactory . wrap ( this ) . updateName ( name ) ; wrapperFactory . wrap ( this ) . updateDescription ( description ) ; wrapperFactory . wrap ( this ) . updateCount ( count ) ; return this ; }
region > updateNameAndDescriptionAndCount (action)