1 26 27 package org.objectweb.util.browser.core.common; 28 29 import java.io.Serializable ; 30 31 import org.objectweb.util.browser.api.Entry; 32 33 40 public class EntryView 41 implements Serializable { 42 43 49 50 protected Entry entry_; 51 52 58 62 public EntryView(Entry entry){ 63 entry_ = entry; 64 } 65 66 72 78 81 public Entry getCurrentEntry(){ 82 return entry_; 83 } 84 85 88 public Object getCurrentValue(){ 89 if(entry_!=null) 90 return entry_.getValue(); 91 return null; 92 } 93 94 97 public String getName(){ 98 if(entry_!=null) 99 return entry_.getName().toString(); 100 return null; 101 } 102 103 } 104 105 106 | Popular Tags |