|
|
@ -7,11 +7,13 @@ import com.fr.design.actions.UpdateAction; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class UpdateActionModel { |
|
|
|
public class UpdateActionModel { |
|
|
|
private String parentName; |
|
|
|
private String parentName; |
|
|
|
|
|
|
|
private String actionName; |
|
|
|
private UpdateAction action; |
|
|
|
private UpdateAction action; |
|
|
|
|
|
|
|
|
|
|
|
public UpdateActionModel(String parentName, UpdateAction action) { |
|
|
|
public UpdateActionModel(String parentName, UpdateAction action) { |
|
|
|
this.parentName = parentName; |
|
|
|
this.parentName = parentName; |
|
|
|
this.action = action; |
|
|
|
this.action = action; |
|
|
|
|
|
|
|
this.actionName = action.getName(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getParentName() { |
|
|
|
public String getParentName() { |
|
|
@ -29,4 +31,12 @@ public class UpdateActionModel { |
|
|
|
public void setAction(UpdateAction action) { |
|
|
|
public void setAction(UpdateAction action) { |
|
|
|
this.action = action; |
|
|
|
this.action = action; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getActionName() { |
|
|
|
|
|
|
|
return actionName; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setActionName(String actionName) { |
|
|
|
|
|
|
|
this.actionName = actionName; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|