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