1 package com.mockobjects.atg; 2 import atg.repository.*; 3 import java.util.*; 7 public class MockRepositoryItem implements RepositoryItem { 8 private HashMap propertyValues = new HashMap(); 9 10 13 public MockRepositoryItem() { 14 super(); 15 } 16 17 20 public RepositoryItemDescriptor getItemDescriptor() 21 throws RepositoryException { 22 return null; 23 } 24 25 28 public String getItemDisplayName() { 29 return null; 30 } 31 32 35 public Object getPropertyValue(String name) { 36 return this.propertyValues.get(name); 37 } 38 39 42 public Repository getRepository() { 43 return null; 44 } 45 46 49 public String getRepositoryId() { 50 return null; 51 } 52 53 56 public boolean isTransient() { 57 return false; 58 } 59 60 63 public void setupPropertyValue(String key, Object propertyValue) { 64 this.propertyValues.put(key, propertyValue); 65 } 66 } | Popular Tags |