1   package com.atlassian.user.impl.delegation.properties;
2   
3   import com.opensymphony.module.propertyset.PropertySet;
4   import com.opensymphony.module.propertyset.PropertySetSchema;
5   import com.opensymphony.module.propertyset.PropertyException;
6   
7   import java.util.Date;
8   import java.util.Collection;
9   import java.util.Properties;
10  import java.util.Map;
11  
12  import org.w3c.dom.Document;
13  
14  public class NullPropertySet implements PropertySet
15  {
16  
17      public void setSchema(PropertySetSchema propertySetSchema) throws PropertyException
18      {
19      }
20  
21      public PropertySetSchema getSchema() throws PropertyException
22      {
23          return null;
24      }
25  
26      public void setAsActualType(String uid, Object o) throws PropertyException
27      {
28      }
29  
30      public Object getAsActualType(String uid) throws PropertyException
31      {
32          return null;
33      }
34  
35      public void setBoolean(String uid, boolean b) throws PropertyException
36      {
37      }
38  
39      public boolean getBoolean(String uid) throws PropertyException
40      {
41          return false;
42      }
43  
44      public void setData(String uid, byte[] bytes) throws PropertyException
45      {
46      }
47  
48      public byte[] getData(String uid) throws PropertyException
49      {
50          return new byte[0];
51      }
52  
53      public void setDate(String uid, Date date) throws PropertyException
54      {
55      }
56  
57      public Date getDate(String uid) throws PropertyException
58      {
59          return null;
60      }
61  
62      public void setDouble(String uid, double v) throws PropertyException
63      {
64      }
65  
66      public double getDouble(String uid) throws PropertyException
67      {
68          return 0;
69      }
70  
71      public void setInt(String uid, int i) throws PropertyException
72      {
73      }
74  
75      public int getInt(String uid) throws PropertyException
76      {
77          return 0;
78      }
79  
80      public Collection getKeys() throws PropertyException
81      {
82          return null;
83      }
84  
85      public Collection getKeys(int i) throws PropertyException
86      {
87          return null;
88      }
89  
90      public Collection getKeys(String uid) throws PropertyException
91      {
92          return null;
93      }
94  
95      public Collection getKeys(String uid, int i) throws PropertyException
96      {
97          return null;
98      }
99  
100     public void setLong(String uid, long l) throws PropertyException
101     {
102     }
103 
104     public long getLong(String uid) throws PropertyException
105     {
106         return 0;
107     }
108 
109     public void setObject(String uid, Object o) throws PropertyException
110     {
111     }
112 
113     public Object getObject(String uid) throws PropertyException
114     {
115         return null;
116     }
117 
118     public void setProperties(String uid, Properties properties) throws PropertyException
119     {
120     }
121 
122     public Properties getProperties(String uid) throws PropertyException
123     {
124         return null;
125     }
126 
127     public boolean isSettable(String uid)
128     {
129         return false;
130     }
131 
132     public void setString(String uid, String uid1) throws PropertyException
133     {
134     }
135 
136     public String getString(String uid) throws PropertyException
137     {
138         return null;
139     }
140 
141     public void setText(String uid, String uid1) throws PropertyException
142     {
143     }
144 
145     public String getText(String uid) throws PropertyException
146     {
147         return null;
148     }
149 
150     public int getType(String uid) throws PropertyException
151     {
152         return 0;
153     }
154 
155     public void setXML(String uid, Document document) throws PropertyException
156     {
157     }
158 
159     public Document getXML(String uid) throws PropertyException
160     {
161         return null;
162     }
163 
164     public boolean exists(String uid) throws PropertyException
165     {
166         return false;
167     }
168 
169     public void init(Map map, Map map1)
170     {
171     }
172 
173     public void remove(String uid) throws PropertyException
174     {
175     }
176 
177     public boolean supportsType(int i)
178     {
179         return false;
180     }
181 
182     public boolean supportsTypes()
183     {
184         return false;
185     }
186 }