Add the API for representing versioning system
[smart-dao.git] / smart-version / smart-version-api / src / main / java / com / smartitengineering / version / api / impl / ResourceImpl.java
blob852c6ea152087874ffd5c095fce3493caa85c6c7
1 /*
2 * This is a common dao with basic CRUD operations and is not limited to any
3 * persistent layer implementation
4 *
5 * Copyright (C) 2008 Imran M Yousuf (imyousuf@smartitengineering.com)
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 3 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 package com.smartitengineering.version.api.impl;
21 import com.smartitengineering.version.api.Resource;
23 /**
24 * Default implementation of resource
25 * @author imyousuf
27 public class ResourceImpl implements Resource{
29 private String id;
31 private String content;
33 /**
34 * Get the value of content
36 * @return the value of content
38 public String getContent() {
39 return content;
42 /**
43 * Set the value of content
45 * @param content new value of content
47 public void setContent(String content) {
48 this.content = content;
51 /**
52 * Get the value of id
54 * @return the value of id
56 public String getId() {
57 return id;
60 /**
61 * Set the value of id
63 * @param id new value of id
65 public void setId(String id) {
66 this.id = id;