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

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

There is a newer version: 4.0.1
Show newest version
/*
 * Copyright 2021-2022 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 javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.tcdng.unify.core.util.xml.MarshalFalseToNullXmlAdapter;

/**
 * Entity configuration.
 * 
 * @author FlowCentral Technologies Limited
 * @since 1.0
 */
public class AppEntityConfig extends BaseNameConfig {

    private String type;

    private String emailProducerConsumer;
    
    private String delegate;

    private String table;
    
    private Boolean mapped;
    
    private Boolean auditable;

    private Boolean reportable;

    private List entityFieldList;

    private List attachmentList;

    private List expressionList;
    
    private List uniqueConstraintList;

    private List indexList;

    private List uploadList;

    private List searchInputList;

    public AppEntityConfig() {
        this.mapped = Boolean.FALSE;
        this.auditable = Boolean.FALSE;
        this.reportable = Boolean.FALSE;
    }
    
    public String getType() {
        return type;
    }

    @XmlAttribute(required = true)
    public void setType(String type) {
        this.type = type;
    }

    public String getEmailProducerConsumer() {
        return emailProducerConsumer;
    }

    @XmlAttribute
    public void setEmailProducerConsumer(String emailProducerConsumer) {
        this.emailProducerConsumer = emailProducerConsumer;
    }

    public String getDelegate() {
        return delegate;
    }

    @XmlAttribute
    public void setDelegate(String delegate) {
        this.delegate = delegate;
    }

    public String getTable() {
        return table;
    }

    @XmlAttribute
    public void setTable(String table) {
        this.table = table;
    }

    public Boolean getMapped() {
        return mapped;
    }

    @XmlJavaTypeAdapter(MarshalFalseToNullXmlAdapter.class)
    @XmlAttribute
    public void setMapped(Boolean mapped) {
        this.mapped = mapped;
    }

    public Boolean getAuditable() {
        return auditable;
    }

    @XmlJavaTypeAdapter(MarshalFalseToNullXmlAdapter.class)
    @XmlAttribute
    public void setAuditable(Boolean auditable) {
        this.auditable = auditable;
    }

    public Boolean getReportable() {
        return reportable;
    }

    @XmlJavaTypeAdapter(MarshalFalseToNullXmlAdapter.class)
    @XmlAttribute
    public void setReportable(Boolean reportable) {
        this.reportable = reportable;
    }

    public List getEntityFieldList() {
        return entityFieldList;
    }

    @XmlElement(name = "field", required = true)
    public void setEntityFieldList(List entityFieldList) {
        this.entityFieldList = entityFieldList;
    }

    public List getAttachmentList() {
        return attachmentList;
    }

    @XmlElement(name = "attachment")
    public void setAttachmentList(List attachmentList) {
        this.attachmentList = attachmentList;
    }

    public List getExpressionList() {
        return expressionList;
    }

    @XmlElement(name = "expression")
    public void setExpressionList(List expressionList) {
        this.expressionList = expressionList;
    }

    public List getUniqueConstraintList() {
        return uniqueConstraintList;
    }

    @XmlElement(name = "uniqueConstraint")
    public void setUniqueConstraintList(List uniqueConstraintList) {
        this.uniqueConstraintList = uniqueConstraintList;
    }

    public List getIndexList() {
        return indexList;
    }

    @XmlElement(name = "index")
    public void setIndexList(List indexList) {
        this.indexList = indexList;
    }

    public List getUploadList() {
        return uploadList;
    }

    @XmlElement(name = "upload")
    public void setUploadList(List uploadList) {
        this.uploadList = uploadList;
    }

    public List getSearchInputList() {
        return searchInputList;
    }

    @XmlElement(name = "searchInput")
    public void setSearchInputList(List searchInputList) {
        this.searchInputList = searchInputList;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy