this.model = model;
status = new StatusStateVariable(model);
target = new TargetStateVariable();
this.states = new UPnPStateVariable[]{status,target};
UPnPAction setTarget = new SetTargetAction(model,target);
UPnPAction getTarget = new GetTargetAction(model,target);
UPnPAction getStatus = new GetStatusAction(model,status);
actions.put(setTarget.getName(),setTarget);
actions.put(getTarget.getName(),getTarget);
actions.put(getStatus.getName(),getStatus);
}