package org.whole.lang.workflows.model.adapters; import org.whole.lang.model.adapters.AbstractEntityAdapter; import org.whole.lang.workflows.model.*; import org.whole.lang.model.IEntity; import org.whole.lang.workflows.visitors.IWorkflowsVisitor; import org.whole.lang.reflect.EntityDescriptor; import org.whole.lang.workflows.reflect.WorkflowsEntityDescriptorEnum; import org.whole.lang.workflows.reflect.WorkflowsFeatureDescriptorEnum; /** * @generator Whole */ public class EmptyActivityAdapter extends AbstractEntityAdapter implements EmptyActivity { private static final long serialVersionUID = 1; public EmptyActivityAdapter(IEntity implementor) { super(implementor); } public EmptyActivityAdapter() { } public void accept(IWorkflowsVisitor visitor) { if (visitor.visitAdapter(this)) visitor.visit(this); } public EntityDescriptor<EmptyActivity> wGetEntityDescriptor() { return WorkflowsEntityDescriptorEnum.EmptyActivity; } public Label getLabel() { return wGet(WorkflowsFeatureDescriptorEnum.label).wGetAdapter( WorkflowsEntityDescriptorEnum.Label); } public void setLabel(Label label) { wSet(WorkflowsFeatureDescriptorEnum.label, label); } }