001package org.apache.commons.digester3.edsl.atom;
002
003/*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements.  See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership.  The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License.  You may obtain a copy of the License at
011 *
012 *   http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied.  See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 */
021
022import java.net.URL;
023import java.util.Date;
024
025public final class Entry
026{
027
028    private String title;
029
030    private URL link;
031
032    private Date updated;
033
034    private String id;
035
036    private String content;
037
038    public String getTitle()
039    {
040        return title;
041    }
042
043    public void setTitle( String title )
044    {
045        this.title = title;
046    }
047
048    public URL getLink()
049    {
050        return link;
051    }
052
053    public void setLink( URL link )
054    {
055        this.link = link;
056    }
057
058    public Date getUpdated()
059    {
060        return updated;
061    }
062
063    public void setUpdated( Date updated )
064    {
065        this.updated = updated;
066    }
067
068    public String getId()
069    {
070        return id;
071    }
072
073    public void setId( String id )
074    {
075        this.id = id;
076    }
077
078    public String getContent()
079    {
080        return content;
081    }
082
083    public void setContent( String content )
084    {
085        this.content = content;
086    }
087
088    @Override
089    public String toString()
090    {
091        return "\n    Entry [title=" + title + ", link=" + link + ", updated=" + updated + ", id=" + id + ", content="
092            + content + "]\n";
093    }
094
095}