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.Workflow; 28 import org.infoglue.cms.entities.workflow.WorkflowVO; 29 30 public class WorkflowImpl implements Workflow 31 { 32 private WorkflowVO valueObject = new WorkflowVO(); 33 34 public Integer getId() 35 { 36 return this.getWorkflowId(); 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((WorkflowVO) valueObject); 57 } 58 59 public WorkflowVO getValueObject() 60 { 61 return this.valueObject; 62 } 63 64 public void setValueObject(WorkflowVO valueObject) 65 { 66 this.valueObject = valueObject; 67 } 68 69 private java.util.Collection actions; 70 71 72 public java.lang.Integer getWorkflowId() 73 { 74 return this.valueObject.getWorkflowId(); 75 } 76 77 public void setWorkflowId(java.lang.Integer workflowId) 78 { 79 this.valueObject.setWorkflowId(workflowId); 80 } 81 82 public java.lang.String getName() 83 { 84 return this.valueObject.getName(); 85 } 86 87 public void setName(java.lang.String name) 88 { 89 this.valueObject.setName(name); 90 } 91 92 public java.lang.String getDescription() 93 { 94 return this.valueObject.getDescription(); 95 } 96 97 public void setDescription(java.lang.String description) 98 { 99 this.valueObject.setDescription(description); 100 } 101 102 public java.util.Collection getActions() 103 { 104 return this.actions; 105 } 106 107 public void setActions (java.util.Collection actions) 108 { 109 this.actions = actions; 110 } 111 } 112 | Popular Tags |