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.selector.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class SelectorNodeTransfer 022 extends BaseTransfer { 023 024 private SelectorTransfer selector; 025 private String selectorNodeName; 026 private Boolean isRootSelectorNode; 027 private SelectorNodeTypeTransfer selectorNodeType; 028 private Boolean negate; 029 private String description; 030 031 /** Creates a new instance of SelectorNodeTransfer */ 032 public SelectorNodeTransfer(SelectorTransfer selector, String selectorNodeName, Boolean isRootSelectorNode, 033 SelectorNodeTypeTransfer selectorNodeType, Boolean negate, String description) { 034 this.selector = selector; 035 this.selectorNodeName = selectorNodeName; 036 this.isRootSelectorNode = isRootSelectorNode; 037 this.selectorNodeType = selectorNodeType; 038 this.negate = negate; 039 this.description = description; 040 } 041 042 public SelectorTransfer getSelector() { 043 return selector; 044 } 045 046 public void setSelector(SelectorTransfer selector) { 047 this.selector = selector; 048 } 049 050 public String getSelectorNodeName() { 051 return selectorNodeName; 052 } 053 054 public void setSelectorNodeName(String selectorNodeName) { 055 this.selectorNodeName = selectorNodeName; 056 } 057 058 public Boolean getIsRootSelectorNode() { 059 return isRootSelectorNode; 060 } 061 062 public void setIsRootSelectorNode(Boolean isRootSelectorNode) { 063 this.isRootSelectorNode = isRootSelectorNode; 064 } 065 066 public SelectorNodeTypeTransfer getSelectorNodeType() { 067 return selectorNodeType; 068 } 069 070 public void setSelectorNodeType(SelectorNodeTypeTransfer selectorNodeType) { 071 this.selectorNodeType = selectorNodeType; 072 } 073 074 public Boolean getNegate() { 075 return negate; 076 } 077 078 public void setNegate(Boolean negate) { 079 this.negate = negate; 080 } 081 082 public String getDescription() { 083 return description; 084 } 085 086 public void setDescription(String description) { 087 this.description = description; 088 } 089 090}