1 23 24 package org.infoglue.cms.entities.management.impl.simple; 25 26 27 import org.infoglue.cms.entities.kernel.BaseEntityVO; 28 import org.infoglue.cms.entities.management.Registry; 29 import org.infoglue.cms.entities.management.RegistryVO; 30 31 32 public class RegistryImpl implements Registry 33 { 34 private RegistryVO valueObject = new RegistryVO(); 35 36 public String toString() 37 { 38 return this.valueObject.toString(); 39 } 40 41 public Integer getId() 42 { 43 return this.getRegistryId(); 44 } 45 46 public Object getIdAsObject() 47 { 48 return getId(); 49 } 50 51 public RegistryVO getValueObject() 52 { 53 return this.valueObject; 54 } 55 56 public void setValueObject(RegistryVO valueObject) 57 { 58 this.valueObject = valueObject; 59 } 60 63 public BaseEntityVO getVO() 64 { 65 return (BaseEntityVO) getValueObject(); 66 } 67 70 public void setVO(BaseEntityVO valueObject) 71 { 72 setValueObject((RegistryVO) valueObject); 73 } 74 75 public Integer getRegistryId() 76 { 77 return this.valueObject.getRegistryId(); 78 } 79 80 public void setRegistryId(Integer registryId) 81 { 82 this.valueObject.setRegistryId(registryId); 83 } 84 85 public String getEntityId() 86 { 87 return this.valueObject.getEntityId(); 88 } 89 90 public void setEntityId(String entityId) 91 { 92 this.valueObject.setEntityId(entityId); 93 } 94 95 public String getEntityName() 96 { 97 return this.valueObject.getEntityName(); 98 } 99 100 public void setEntityName(String entityName) 101 { 102 this.valueObject.setEntityName(entityName); 103 } 104 105 public Integer getReferenceType() 106 { 107 return this.valueObject.getReferenceType(); 108 } 109 110 public void setReferenceType(Integer referenceType) 111 { 112 this.valueObject.setReferenceType(referenceType); 113 } 114 115 public String getReferencingEntityId() 116 { 117 return this.valueObject.getReferencingEntityId(); 118 } 119 120 public void setReferencingEntityId(String referencingEntityId) 121 { 122 this.valueObject.setReferencingEntityId(referencingEntityId); 123 } 124 125 public String getReferencingEntityName() 126 { 127 return this.valueObject.getReferencingEntityName(); 128 } 129 130 public void setReferencingEntityName(String referencingEntityName) 131 { 132 this.valueObject.setReferencingEntityName(referencingEntityName); 133 } 134 135 public String getReferencingEntityCompletingId() 136 { 137 return this.valueObject.getReferencingEntityCompletingId(); 138 } 139 140 public void setReferencingEntityCompletingId(String referencingEntityCompletingId) 141 { 142 this.valueObject.setReferencingEntityCompletingId(referencingEntityCompletingId); 143 } 144 145 public String getReferencingEntityCompletingName() 146 { 147 return this.valueObject.getReferencingEntityCompletingName(); 148 } 149 150 public void setReferencingEntityCompletingName(String referencingEntityCompletingName) 151 { 152 this.valueObject.setReferencingEntityCompletingName(referencingEntityCompletingName); 153 } 154 155 } 156 | Popular Tags |