1 23 24 package org.infoglue.cms.entities.management.impl.simple; 25 26 import java.util.ArrayList ; 27 import java.util.Collection ; 28 29 import org.infoglue.cms.entities.kernel.BaseEntityVO; 30 import org.infoglue.cms.entities.management.Interceptor; 31 import org.infoglue.cms.entities.management.InterceptorVO; 32 33 34 public class InterceptorImpl implements Interceptor 35 { 36 private InterceptorVO valueObject = new InterceptorVO(); 37 private java.util.Collection interceptionPoints = new ArrayList (); 38 39 public java.lang.Integer getInterceptorId() 40 { 41 return this.valueObject.getInterceptorId(); 42 } 43 44 public Object getIdAsObject() 45 { 46 return getId(); 47 } 48 49 public void setInterceptorId(java.lang.Integer interceptorId) 50 { 51 this.valueObject.setInterceptorId(interceptorId); 52 } 53 54 public java.lang.String getName() 55 { 56 return this.valueObject.getName(); 57 } 58 59 public void setName(java.lang.String name) 60 { 61 this.valueObject.setName(name); 62 } 63 64 public java.lang.String getDescription() 65 { 66 return this.valueObject.getDescription(); 67 } 68 69 public void setDescription(java.lang.String description) 70 { 71 this.valueObject.setDescription(description); 72 } 73 74 public java.lang.String getClassName() 75 { 76 return this.valueObject.getClassName(); 77 } 78 79 public void setClassName(java.lang.String className) 80 { 81 this.valueObject.setClassName(className); 82 } 83 84 public Collection getInterceptionPoints() 85 { 86 return this.interceptionPoints; 87 } 88 89 public void setInterceptionPoints(Collection interceptionPoints) 90 { 91 this.interceptionPoints = interceptionPoints; 92 } 93 94 public Integer getId() 95 { 96 return this.getInterceptorId(); 97 } 98 99 public String toString() 100 { 101 return this.valueObject.toString(); 102 } 103 104 public InterceptorVO getValueObject() 105 { 106 return this.valueObject; 107 } 108 109 public void setValueObject(InterceptorVO valueObject) 110 { 111 this.valueObject = valueObject; 112 } 113 114 public BaseEntityVO getVO() 115 { 116 return (BaseEntityVO) getValueObject(); 117 } 118 119 public void setVO(BaseEntityVO valueObject) 120 { 121 setValueObject((InterceptorVO) valueObject); 122 } 123 } 124 | Popular Tags |