Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/mockobjects/atg/MockRepositoryItem.java


1   package com.mockobjects.atg;
2   import atg.repository.*;
3   import java.util.*;/**
4    * Creation date: (06/04/2001 08:48:16)
5    * @author:
6    */
7   public class MockRepositoryItem implements RepositoryItem {
8       private HashMap propertyValues = new HashMap();
9   
10      /**
11       * MockRepositoryItem constructor comment.
12       */
13      public MockRepositoryItem() {
14          super();
15      }
16  
17      /**
18       * getItemDescriptor method comment.
19       */
20      public RepositoryItemDescriptor getItemDescriptor()
21          throws RepositoryException {
22          return null;
23      }
24  
25      /**
26       * getItemDisplayName method comment.
27       */
28      public String getItemDisplayName() {
29          return null;
30      }
31  
32      /**
33       * getPropertyValue method comment.
34       */
35      public Object getPropertyValue(String name) {
36          return this.propertyValues.get(name);
37      }
38  
39      /**
40       * getRepository method comment.
41       */
42      public Repository getRepository() {
43          return null;
44      }
45  
46      /**
47       * getRepositoryId method comment.
48       */
49      public String getRepositoryId() {
50          return null;
51      }
52  
53      /**
54       * isTransient method comment.
55       */
56      public boolean isTransient() {
57          return false;
58      }
59  
60      /**
61       * getPropertyValue method comment.
62       */
63      public void setupPropertyValue(String key, Object propertyValue) {
64          this.propertyValues.put(key, propertyValue);
65      }
66  }