2 * GroupDAVObjectHint.java
4 * Created on 14 April 2006, 16:55
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24 package net
.bionicmessage
.groupdav
;
27 * An object hint for GroupDAV Objects which stores their location
28 * and last known etag for tracking use.
31 public class GroupDAVObjectHint
implements java
.io
.Serializable
, Cloneable
{
32 private String location
= null;
33 private String etag
= null;
34 private String uid
= null;
35 private String name
= null;
36 /** Creates a new instance of GroupDAVObjectHint */
37 public GroupDAVObjectHint(String uid
, String name
,String loc
, String etag
) {
43 public void setLocation(String loc
) {
47 public String
getLocation() {
50 public String
getEtag() {
53 public void setEtag(String etag
) {
57 public String
getUid() {
61 public void setUid(String uid
) {
64 public void setName(String name
) {
67 public String
getName() {
70 public Object
clone() {
71 return new GroupDAVObjectHint(uid
,name
,location
,etag
);