001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package lucee.runtime.cache.eh.remote.soap;
020
021public class Element
022{
023    private Boolean eternal;
024    private Long expirationDate;
025    private Object key;
026    private String mimeType;
027    private String resourceUri;
028    private Integer timeToIdleSeconds;
029    private Integer timeToLiveSeconds;
030    private byte[] value;
031    
032    public final Boolean getEternal() {
033        return eternal;
034    }
035    
036    public final void setEternal(Boolean eternal) {
037        this.eternal = eternal;
038    }
039    
040    public final Long getExpirationDate() {
041        return expirationDate;
042    }
043    
044    public final void setExpirationDate(Long expirationDate) {
045        this.expirationDate = expirationDate;
046    }
047    
048    public final Object getKey() {
049        return key;
050    }
051    
052    public final void setKey(Object key) {
053        this.key = key;
054    }
055    
056    public final String getMimeType() {
057        return mimeType;
058    }
059    
060    public final void setMimeType(String mimeType) {
061        this.mimeType = mimeType;
062    }
063    
064    public final String getResourceUri() {
065        return resourceUri;
066    }
067    
068    public final void setResourceUri(String resourceUri) {
069        this.resourceUri = resourceUri;
070    }
071    
072    public final Integer getTimeToIdleSeconds() {
073        return timeToIdleSeconds;
074    }
075    
076    public final void setTimeToIdleSeconds(Integer timeToIdleSeconds) {
077        this.timeToIdleSeconds = timeToIdleSeconds;
078    }
079    
080    public final Integer getTimeToLiveSeconds() {
081        return timeToLiveSeconds;
082    }
083    
084    public final void setTimeToLiveSeconds(Integer timeToLiveSeconds) {
085        this.timeToLiveSeconds = timeToLiveSeconds;
086    }
087    
088    public final byte[] getValue() {
089        return value;
090    }
091    
092    public final void setValue(byte[] value) {
093        this.value = value;
094    }
095}