1 23 24 package org.infoglue.cms.entities.mydesktop; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.util.ConstraintExceptionBuffer; 28 29 34 35 public class ShortcutVO implements BaseEntityVO 36 { 37 private String name; 38 private String URL; 39 private boolean popup = true; 40 41 private ShortcutVO() {} 42 43 public ShortcutVO(String name, String URL, boolean popup) 44 { 45 setName(name); 46 setURL(URL); 47 setPopup(popup); 48 } 49 50 public Integer getId() 51 { 52 return null; 53 } 54 55 public String getName() 56 { 57 return name; 58 } 59 60 private void setName(String name) 61 { 62 this.name = name; 63 } 64 65 public String getURL() 66 { 67 return URL; 68 } 69 70 private void setURL(String url) 71 { 72 URL = url; 73 } 74 75 public boolean getPopup() 76 { 77 return popup; 78 } 79 80 private void setPopup(boolean popup) 81 { 82 this.popup = popup; 83 } 84 85 public ConstraintExceptionBuffer validate() 86 { 87 return new ConstraintExceptionBuffer(); 88 } 89 90 } 91 | Popular Tags |