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.user.common.transfer;
018
019import com.echothree.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class UserLoginPasswordTransfer
023        extends BaseTransfer {
024
025    private PartyTransfer party;
026    private UserLoginPasswordTypeTransfer userLoginPasswordType;
027
028    // From UserLoginPasswordString:
029    private String password;
030    private Long unformattedChangedTime;
031    private String changedTime;
032    private Boolean wasReset;
033
034    /** Creates a new instance of UserLoginPasswordTransfer */
035    public UserLoginPasswordTransfer(PartyTransfer party, UserLoginPasswordTypeTransfer userLoginPasswordType, String password, Long unformattedChangedTime,
036            String changedTime, Boolean wasReset) {
037        this.party = party;
038        this.userLoginPasswordType = userLoginPasswordType;
039        this.password = password;
040        this.unformattedChangedTime = unformattedChangedTime;
041        this.changedTime = changedTime;
042        this.wasReset = wasReset;
043    }
044
045    /**
046     * Returns the party.
047     * @return the party
048     */
049    public PartyTransfer getParty() {
050        return party;
051    }
052
053    /**
054     * Sets the party.
055     * @param party the party to set
056     */
057    public void setParty(PartyTransfer party) {
058        this.party = party;
059    }
060
061    /**
062     * Returns the userLoginPasswordType.
063     * @return the userLoginPasswordType
064     */
065    public UserLoginPasswordTypeTransfer getUserLoginPasswordType() {
066        return userLoginPasswordType;
067    }
068
069    /**
070     * Sets the userLoginPasswordType.
071     * @param userLoginPasswordType the userLoginPasswordType to set
072     */
073    public void setUserLoginPasswordType(UserLoginPasswordTypeTransfer userLoginPasswordType) {
074        this.userLoginPasswordType = userLoginPasswordType;
075    }
076
077    /**
078     * Returns the password.
079     * @return the password
080     */
081    public String getPassword() {
082        return password;
083    }
084
085    /**
086     * Sets the password.
087     * @param password the password to set
088     */
089    public void setPassword(String password) {
090        this.password = password;
091    }
092
093    /**
094     * Returns the unformattedChangedTime.
095     * @return the unformattedChangedTime
096     */
097    public Long getUnformattedChangedTime() {
098        return unformattedChangedTime;
099    }
100
101    /**
102     * Sets the unformattedChangedTime.
103     * @param unformattedChangedTime the unformattedChangedTime to set
104     */
105    public void setUnformattedChangedTime(Long unformattedChangedTime) {
106        this.unformattedChangedTime = unformattedChangedTime;
107    }
108
109    /**
110     * Returns the changedTime.
111     * @return the changedTime
112     */
113    public String getChangedTime() {
114        return changedTime;
115    }
116
117    /**
118     * Sets the changedTime.
119     * @param changedTime the changedTime to set
120     */
121    public void setChangedTime(String changedTime) {
122        this.changedTime = changedTime;
123    }
124
125    /**
126     * Returns the wasReset.
127     * @return the wasReset
128     */
129    public Boolean getWasReset() {
130        return wasReset;
131    }
132
133    /**
134     * Sets the wasReset.
135     * @param wasReset the wasReset to set
136     */
137    public void setWasReset(Boolean wasReset) {
138        this.wasReset = wasReset;
139    }
140
141}