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.offer.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class OfferNameElementTransfer
022        extends BaseTransfer {
023    
024    private String offerNameElementName;
025    private Integer offset;
026    private Integer length;
027    private String validationPattern;
028    private String description;
029    
030    /** Creates a new instance of OfferNameElementTransfer */
031    public OfferNameElementTransfer(String offerNameElementName, Integer offset, Integer length, String validationPattern, String description) {
032        this.offerNameElementName = offerNameElementName;
033        this.offset = offset;
034        this.length = length;
035        this.validationPattern = validationPattern;
036        this.description = description;
037    }
038    
039    public String getOfferNameElementName() {
040        return offerNameElementName;
041    }
042    
043    public void setOfferNameElementName(String offerNameElementName) {
044        this.offerNameElementName = offerNameElementName;
045    }
046    
047    public Integer getOffset() {
048        return offset;
049    }
050    
051    public void setOffset(Integer offset) {
052        this.offset = offset;
053    }
054    
055    public Integer getLength() {
056        return length;
057    }
058    
059    public void setLength(Integer length) {
060        this.length = length;
061    }
062    
063    public String getValidationPattern() {
064        return validationPattern;
065    }
066    
067    public void setValidationPattern(String validationPattern) {
068        this.validationPattern = validationPattern;
069    }
070    
071    public String getDescription() {
072        return description;
073    }
074    
075    public void setDescription(String description) {
076        this.description = description;
077    }
078    
079}