mirror of https://github.com/apache/jclouds.git
fix domain object inhertance
This commit is contained in:
parent
e0b1100651
commit
d8924519c7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue