All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flowcentraltech.flowcentral.configuration.xml.AppFormConfig Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2021-2024 FlowCentral Technologies Limited.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.flowcentraltech.flowcentral.configuration.xml;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.flowcentraltech.flowcentral.configuration.constants.FormType;
import com.flowcentraltech.flowcentral.configuration.xml.adapter.FormTypeXmlAdapter;

/**
 * Form configuration.
 * 
 * @author FlowCentral Technologies Limited
 * @since 1.0
 */
@JsonInclude(value = Include.NON_NULL, content = Include.NON_EMPTY)
public class AppFormConfig extends BaseNameConfig {

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "filter")
    private List filterList;
    
    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "annotation")
    private List annotationList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "action")
    private List actionList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "tab")
    private List tabList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "relatedList")
    private List relatedList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "formStatePolicy")
    private List formStatePolicyList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "formWidgetRulesPolicy")
    private List widgetRulesPolicyList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "fieldValidationPolicy")
    private List fieldValidationPolicyList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "formValidationPolicy")
    private List formValidationPolicyList;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "formReviewPolicy")
    private List formReviewPolicyList;

    @JsonSerialize(using = FormTypeXmlAdapter.Serializer.class)
    @JsonDeserialize(using = FormTypeXmlAdapter.Deserializer.class)
    @JacksonXmlProperty(isAttribute = true)
    private FormType type;
    
    @JacksonXmlProperty(isAttribute = true)
    private String entity;
    
    @JacksonXmlProperty(isAttribute = true)
    private String helpSheet;

    @JacksonXmlProperty(isAttribute = true)
    private String titleFormat;

    @JacksonXmlProperty(isAttribute = true)
    private String listingGenerator;

    @JacksonXmlProperty(isAttribute = true)
    private String consolidatedValidation;

    @JacksonXmlProperty(isAttribute = true)
    private String consolidatedReview;

    @JacksonXmlProperty(isAttribute = true)
    private String consolidatedState;

    public AppFormConfig() {
        this.type = FormType.INPUT;
    }

    public List getFilterList() {
        return filterList;
    }

    public void setFilterList(List filterList) {
        this.filterList = filterList;
    }
    
    public List getAnnotationList() {
        return annotationList;
    }

    public void setAnnotationList(List annotationList) {
        this.annotationList = annotationList;
    }

    public List getActionList() {
        return actionList;
    }

    public void setActionList(List actionList) {
        this.actionList = actionList;
    }

    public List getTabList() {
        return tabList;
    }

    public void setTabList(List tabList) {
        this.tabList = tabList;
    }

    public List getRelatedList() {
        return relatedList;
    }

    public void setRelatedList(List relatedList) {
        this.relatedList = relatedList;
    }

    public List getFormStatePolicyList() {
        return formStatePolicyList;
    }

    public void setFormStatePolicyList(List formStatePolicyList) {
        this.formStatePolicyList = formStatePolicyList;
    }

    public List getWidgetRulesPolicyList() {
        return widgetRulesPolicyList;
    }

    public void setWidgetRulesPolicyList(List widgetRulesPolicyList) {
        this.widgetRulesPolicyList = widgetRulesPolicyList;
    }

    public List getFieldValidationPolicyList() {
        return fieldValidationPolicyList;
    }

    public void setFieldValidationPolicyList(List fieldValidationPolicyList) {
        this.fieldValidationPolicyList = fieldValidationPolicyList;
    }

    public List getFormValidationPolicyList() {
        return formValidationPolicyList;
    }

    public void setFormValidationPolicyList(List formValidationPolicyList) {
        this.formValidationPolicyList = formValidationPolicyList;
    }

    public List getFormReviewPolicyList() {
        return formReviewPolicyList;
    }

    public void setFormReviewPolicyList(List formReviewPolicyList) {
        this.formReviewPolicyList = formReviewPolicyList;
    }

    public FormType getType() {
        return type;
    }

    public void setType(FormType type) {
        this.type = type;
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity;
    }

    public String getHelpSheet() {
        return helpSheet;
    }

    public void setHelpSheet(String helpSheet) {
        this.helpSheet = helpSheet;
    }

    public String getTitleFormat() {
        return titleFormat;
    }

    public void setTitleFormat(String titleFormat) {
        this.titleFormat = titleFormat;
    }

    public String getListingGenerator() {
        return listingGenerator;
    }

    public void setListingGenerator(String listingGenerator) {
        this.listingGenerator = listingGenerator;
    }

    public String getConsolidatedValidation() {
        return consolidatedValidation;
    }

    public void setConsolidatedValidation(String consolidatedValidation) {
        this.consolidatedValidation = consolidatedValidation;
    }

    public String getConsolidatedReview() {
        return consolidatedReview;
    }

    public void setConsolidatedReview(String consolidatedReview) {
        this.consolidatedReview = consolidatedReview;
    }

    public String getConsolidatedState() {
        return consolidatedState;
    }

    public void setConsolidatedState(String consolidatedState) {
        this.consolidatedState = consolidatedState;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy