001    package org.joda.time.contrib.hibernate.testmodel;
002    
003    import org.joda.time.Duration;
004    
005    import java.io.Serializable;
006    
007    /**
008     *
009     * @author gjoseph
010     * @author $Author: $ (last edit)
011     * @version $Revision: $
012     */
013    public class SomethingThatLasts implements Serializable {
014        private long id;
015        private String name;
016        private Duration theDuration;
017    
018        public long getId() {
019            return id;
020        }
021    
022        public void setId(long id) {
023            this.id = id;
024        }
025    
026        public String getName() {
027            return name;
028        }
029    
030        public void setName(String name) {
031            this.name = name;
032        }
033    
034        public Duration getTheDuration() {
035            return theDuration;
036        }
037    
038        public void setTheDuration(Duration theDuration) {
039            this.theDuration = theDuration;
040        }
041    
042    }