1 23 24 package org.infoglue.cms.entities.workflow.impl.simple; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.entities.workflow.WorkflowDefinition; 28 import org.infoglue.cms.entities.workflow.WorkflowDefinitionVO; 29 30 public class WorkflowDefinitionImpl implements WorkflowDefinition 31 { 32 private WorkflowDefinitionVO valueObject = new WorkflowDefinitionVO(); 33 34 public Integer getId() 35 { 36 return this.getWorkflowDefinitionId(); 37 } 38 39 public Object getIdAsObject() 40 { 41 return getId(); 42 } 43 44 47 public BaseEntityVO getVO() 48 { 49 return (BaseEntityVO) getValueObject(); 50 } 51 54 public void setVO(BaseEntityVO valueObject) 55 { 56 setValueObject((WorkflowDefinitionVO) valueObject); 57 } 58 59 public WorkflowDefinitionVO getValueObject() 60 { 61 return this.valueObject; 62 } 63 64 public void setValueObject(WorkflowDefinitionVO valueObject) 65 { 66 this.valueObject = valueObject; 67 } 68 69 public Integer getWorkflowDefinitionId() 70 { 71 return this.valueObject.getWorkflowDefinitionId(); 72 } 73 74 public void setWorkflowDefinitionId(Integer workflowDefinitionId) 75 { 76 this.valueObject.setWorkflowDefinitionId(workflowDefinitionId); 77 } 78 79 public java.lang.String getName() 80 { 81 return this.valueObject.getName(); 82 } 83 84 public void setName(java.lang.String name) 85 { 86 this.valueObject.setName(name); 87 } 88 89 public String getValue() 90 { 91 return this.valueObject.getValue(); 92 } 93 94 public void setValue(String value) 95 { 96 this.valueObject.setValue(value); 97 } 98 99 } 100 | Popular Tags |