001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.security.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020import com.echothree.util.common.transfer.MapWrapper;
021
022public class SecurityRoleGroupTransfer
023        extends BaseTransfer {
024    
025    private String securityRoleGroupName;
026    private SecurityRoleGroupTransfer parentSecurityRoleGroup;
027    private Boolean isDefault;
028    private Integer sortOrder;
029    private String description;
030
031    private Long securityRoleCount;
032    private MapWrapper<SecurityRoleTransfer> securityRoles;
033    
034    /** Creates a new instance of SecurityRoleGroupTransfer */
035    public SecurityRoleGroupTransfer(String securityRoleGroupName, SecurityRoleGroupTransfer parentSecurityRoleGroup,
036            Boolean isDefault, Integer sortOrder, String description) {
037        this.securityRoleGroupName = securityRoleGroupName;
038        this.parentSecurityRoleGroup = parentSecurityRoleGroup;
039        this.isDefault = isDefault;
040        this.sortOrder = sortOrder;
041        this.description = description;
042    }
043
044    /**
045     * Returns the securityRoleGroupName.
046     * @return the securityRoleGroupName
047     */
048    public String getSecurityRoleGroupName() {
049        return securityRoleGroupName;
050    }
051
052    /**
053     * Sets the securityRoleGroupName.
054     * @param securityRoleGroupName the securityRoleGroupName to set
055     */
056    public void setSecurityRoleGroupName(String securityRoleGroupName) {
057        this.securityRoleGroupName = securityRoleGroupName;
058    }
059
060    /**
061     * Returns the parentSecurityRoleGroup.
062     * @return the parentSecurityRoleGroup
063     */
064    public SecurityRoleGroupTransfer getParentSecurityRoleGroup() {
065        return parentSecurityRoleGroup;
066    }
067
068    /**
069     * Sets the parentSecurityRoleGroup.
070     * @param parentSecurityRoleGroup the parentSecurityRoleGroup to set
071     */
072    public void setParentSecurityRoleGroup(SecurityRoleGroupTransfer parentSecurityRoleGroup) {
073        this.parentSecurityRoleGroup = parentSecurityRoleGroup;
074    }
075
076    /**
077     * Returns the isDefault.
078     * @return the isDefault
079     */
080    public Boolean getIsDefault() {
081        return isDefault;
082    }
083
084    /**
085     * Sets the isDefault.
086     * @param isDefault the isDefault to set
087     */
088    public void setIsDefault(Boolean isDefault) {
089        this.isDefault = isDefault;
090    }
091
092    /**
093     * Returns the sortOrder.
094     * @return the sortOrder
095     */
096    public Integer getSortOrder() {
097        return sortOrder;
098    }
099
100    /**
101     * Sets the sortOrder.
102     * @param sortOrder the sortOrder to set
103     */
104    public void setSortOrder(Integer sortOrder) {
105        this.sortOrder = sortOrder;
106    }
107
108    /**
109     * Returns the description.
110     * @return the description
111     */
112    public String getDescription() {
113        return description;
114    }
115
116    /**
117     * Sets the description.
118     * @param description the description to set
119     */
120    public void setDescription(String description) {
121        this.description = description;
122    }
123
124    /**
125     * Returns the securityRoleCount.
126     * @return the securityRoleCount
127     */
128    public Long getSecurityRoleCount() {
129        return securityRoleCount;
130    }
131
132    /**
133     * Sets the securityRoleCount.
134     * @param securityRoleCount the securityRoleCount to set
135     */
136    public void setSecurityRoleCount(Long securityRoleCount) {
137        this.securityRoleCount = securityRoleCount;
138    }
139
140    /**
141     * Returns the securityRoles.
142     * @return the securityRoles
143     */
144    public MapWrapper<SecurityRoleTransfer> getSecurityRoles() {
145        return securityRoles;
146    }
147
148    /**
149     * Sets the securityRoles.
150     * @param securityRoles the securityRoles to set
151     */
152    public void setSecurityRoles(MapWrapper<SecurityRoleTransfer> securityRoles) {
153        this.securityRoles = securityRoles;
154    }
155    
156}