fix domain object inhertance

This commit is contained in:
danikov 2012-02-23 13:41:17 +00:00
parent e0b1100651
commit d8924519c7
3 changed files with 17 additions and 9 deletions

View File

@ -80,9 +80,9 @@ public class InstantiateVAppParamsType<T extends InstantiateVAppParamsType<T>>
public static class Builder<T extends InstantiateVAppParamsType<T>> extends VAppCreationParamsType.Builder<T> {
private Reference source;
private Boolean isSourceDelete;
private Boolean linkedClone;
protected Reference source;
protected Boolean isSourceDelete;
protected Boolean linkedClone;
/**
* @see InstantiateVAppParamsType#getSource()
@ -114,6 +114,12 @@ public class InstantiateVAppParamsType<T extends InstantiateVAppParamsType<T>>
instantiateVAppParams.setSource(source);
instantiateVAppParams.setIsSourceDelete(isSourceDelete);
instantiateVAppParams.setLinkedClone(linkedClone);
instantiateVAppParams.setVAppParent(vAppParent);
instantiateVAppParams.setInstantiationParams(instantiationParams);
instantiateVAppParams.setDeploy(deploy);
instantiateVAppParams.setPowerOn(powerOn);
instantiateVAppParams.setDescription(description);
instantiateVAppParams.setName(name);
return instantiateVAppParams;
}

View File

@ -81,8 +81,8 @@ public class ParamsType<T extends ParamsType<T>> {
public static class Builder<T extends ParamsType<T>>{
private String description;
private String name;
protected String description;
protected String name;
/**
* @see ParamsType#getDescription()

View File

@ -83,10 +83,10 @@ public class VAppCreationParamsType<T extends VAppCreationParamsType<T>>
public static class Builder<T extends VAppCreationParamsType<T>> extends ParamsType.Builder<T> {
private Reference vAppParent;
private InstantiationParams instantiationParams;
private Boolean deploy;
private Boolean powerOn;
protected Reference vAppParent;
protected InstantiationParams instantiationParams;
protected Boolean deploy;
protected Boolean powerOn;
/**
* @see VAppCreationParamsType#getVAppParent()
@ -127,6 +127,8 @@ public class VAppCreationParamsType<T extends VAppCreationParamsType<T>>
vAppCreationParams.setInstantiationParams(instantiationParams);
vAppCreationParams.setDeploy(deploy);
vAppCreationParams.setPowerOn(powerOn);
vAppCreationParams.setDescription(description);
vAppCreationParams.setName(name);
return vAppCreationParams;
}