View Javadoc

1   /*
2    * Copyright 2004-2005 The Apache Software Foundation or its licensors,
3    *                     as applicable.
4    *
5    * Licensed under the Apache License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package net.sf.exorcist.midgard;
18  
19  import java.util.Date;
20  
21  public class MidgardObjectInfo {
22  
23      private String guid;
24  
25      private MidgardType type;
26  
27      private int id;
28  
29      private String locked;
30  
31      private Date changed;
32  
33      private Date updated;
34  
35      private String author;
36  
37      private String sitegroup;
38  
39      /***
40       * @return Returns the author.
41       */
42      public String getAuthor() {
43          return author;
44      }
45  
46      /***
47       * @param author The author to set.
48       */
49      public void setAuthor(String author) {
50          this.author = author;
51      }
52  
53      /***
54       * @return Returns the changed.
55       */
56      public Date getChanged() {
57          return changed;
58      }
59  
60      /***
61       * @param changed The changed to set.
62       */
63      public void setChanged(Date changed) {
64          this.changed = changed;
65      }
66  
67      /***
68       * @return Returns the guid.
69       */
70      public String getGuid() {
71          return guid;
72      }
73  
74      /***
75       * @param guid The guid to set.
76       */
77      public void setGuid(String guid) {
78          this.guid = guid;
79      }
80  
81      /***
82       * @return Returns the id.
83       */
84      public int getId() {
85          return id;
86      }
87  
88      /***
89       * @param id The id to set.
90       */
91      public void setId(int id) {
92          this.id = id;
93      }
94  
95      /***
96       * @return Returns the locked.
97       */
98      public String getLocked() {
99          return locked;
100     }
101 
102     /***
103      * @param locked The locked to set.
104      */
105     public void setLocked(String locked) {
106         this.locked = locked;
107     }
108 
109     /***
110      * @return Returns the type.
111      */
112     public MidgardType getType() {
113         return type;
114     }
115 
116     /***
117      * @param type The type to set.
118      */
119     public void setType(MidgardType type) {
120         this.type = type;
121     }
122 
123     /***
124      * @return Returns the updated.
125      */
126     public Date getUpdated() {
127         return updated;
128     }
129 
130     /***
131      * @param updated The updated to set.
132      */
133     public void setUpdated(Date updated) {
134         this.updated = updated;
135     }
136 
137 }