1 package org.telscenter.pas.otrunk.skeleton.controllers;
2
3 import org.concord.framework.otrunk.OTObject;
4 import org.telscenter.pas.beans.PasActivity;
5 import org.telscenter.pas.otrunk.skeleton.OTPasActivity;
6 import org.telscenter.pas.otrunk.skeleton.steps.OTAbstractUrlStep;
7 import org.telscenter.pas.steps.AbstractUrlStep;
8
9
10 public class OTAbstractUrlController extends OTPasStepController {
11
12 public static Class[] realObjectClasses = { AbstractUrlStep.class };
13 public static Class otObjectClass = OTAbstractUrlStep.class;
14
15
16
17 public void loadRealObject(Object realObject) {
18 super.loadRealObject(realObject);
19
20 AbstractUrlStep abstractUrl = (AbstractUrlStep) realObject;
21 OTAbstractUrlStep otAbstractUrl = (OTAbstractUrlStep) otObject;
22
23
24
25
26 abstractUrl.setUrl(otAbstractUrl.getUrl());
27 }
28
29 public void registerRealObject(Object arg0) {
30
31
32 }
33
34 public void saveRealObject(Object realObject) {
35 super.saveRealObject(realObject);
36 AbstractUrlStep abstractUrlStep = (AbstractUrlStep) realObject;
37 OTAbstractUrlStep otAbstractUrlStep = (OTAbstractUrlStep) otObject;
38
39 otAbstractUrlStep.setUrl(abstractUrlStep.getUrl());
40 }
41
42 }