1 2 12 package com.versant.core.storagemanager.logging; 13 14 17 public class SmFetchEvent extends SmFetchEventBase { 18 19 private String className; 20 private String primaryKey; 21 22 public SmFetchEvent(int storageManagerId, int type, String className, 23 String primaryKey, String fetchGroup, String fieldName) { 24 super(storageManagerId, type, fieldName, fetchGroup); 25 this.className = className; 26 this.primaryKey = primaryKey; 27 } 28 29 public String getPrimaryKey() { 30 return primaryKey; 31 } 32 33 public String getClassName() { 34 return className; 35 } 36 37 public void setClassName(String className) { 38 this.className = className; 39 } 40 41 public void setPrimaryKey(String primaryKey) { 42 this.primaryKey = primaryKey; 43 } 44 45 48 public String getDescription() { 49 return className + " " + primaryKey + " " + getFetchGroup() + " " + 50 (fieldName == null ? "" : fieldName + " ") + 51 returnedSize + " state(s)"; 52 } 53 54 } 55 | Popular Tags |