001 /* 002 * Copyright 2010 the original author or authors. 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 package com.hs.mail.imap.message.request; 017 018 /** 019 * 020 * @author Won Chul Doh 021 * @since Jan 28, 2010 022 * 023 */ 024 public class Status { 025 026 private boolean messages = false; 027 private boolean recent = false; 028 private boolean uidNext = false; 029 private boolean uidValidity = false; 030 private boolean unseen = false; 031 032 public boolean isMessages() { 033 return messages; 034 } 035 036 public void setMessages(boolean messages) { 037 this.messages = messages; 038 } 039 040 public boolean isRecent() { 041 return recent; 042 } 043 044 public void setRecent(boolean recent) { 045 this.recent = recent; 046 } 047 048 public boolean isUidNext() { 049 return uidNext; 050 } 051 052 public void setUidNext(boolean uidNext) { 053 this.uidNext = uidNext; 054 } 055 056 public boolean isUidValidity() { 057 return uidValidity; 058 } 059 060 public void setUidValidity(boolean uidValidity) { 061 this.uidValidity = uidValidity; 062 } 063 064 public boolean isUnseen() { 065 return unseen; 066 } 067 068 public void setUnseen(boolean unseen) { 069 this.unseen = unseen; 070 } 071 072 }