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.InterceptionPoint; 31 import org.infoglue.cms.entities.management.InterceptionPointVO; 32 import org.infoglue.cms.exception.ConstraintException; 33 34 public class InterceptionPointImpl implements InterceptionPoint 35 { 36 private InterceptionPointVO valueObject = new InterceptionPointVO(); 37 private java.util.Collection interceptors = new ArrayList (); 38 39 public Integer getInterceptionPointId() 40 { 41 return this.valueObject.getInterceptionPointId(); 42 } 43 44 public Object getIdAsObject() 45 { 46 return getId(); 47 } 48 49 public void setInterceptionPointId(Integer interceptionPointId) 50 { 51 this.valueObject.setInterceptionPointId(interceptionPointId); 52 } 53 54 public java.lang.String getName() 55 { 56 return this.valueObject.getName(); 57 } 58 59 public void setName(java.lang.String name) throws ConstraintException 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) throws ConstraintException 70 { 71 this.valueObject.setDescription(description); 72 } 73 74 public String getCategory() 75 { 76 return this.valueObject.getCategory(); 77 } 78 79 public void setCategory(String category) throws ConstraintException 80 { 81 this.valueObject.setCategory(category); 82 } 83 84 public Boolean getUsesExtraDataForAccessControl() 85 { 86 return this.valueObject.getUsesExtraDataForAccessControl(); 87 } 88 89 public void setUsesExtraDataForAccessControl(Boolean usesExtraDataForAccessControl) throws ConstraintException 90 { 91 this.valueObject.setUsesExtraDataForAccessControl(usesExtraDataForAccessControl); 92 } 93 94 public Collection getInterceptors() 95 { 96 return this.interceptors; 97 } 98 99 public void setInterceptors(Collection interceptors) 100 { 101 this.interceptors = interceptors; 102 } 103 104 public Integer getId() 105 { 106 return this.getInterceptionPointId(); 107 } 108 109 public String toString() 110 { 111 return this.valueObject.toString(); 112 } 113 114 public InterceptionPointVO getValueObject() 115 { 116 return this.valueObject; 117 } 118 119 public void setValueObject(InterceptionPointVO valueObject) 120 { 121 this.valueObject = valueObject; 122 } 123 124 public BaseEntityVO getVO() 125 { 126 return (BaseEntityVO) getValueObject(); 127 } 128 129 public void setVO(BaseEntityVO valueObject) 130 { 131 setValueObject((InterceptionPointVO) valueObject); 132 } 133 134 } 135 | Popular Tags |