add builder inheritance methods

This commit is contained in:
danikov 2012-02-21 16:04:25 +00:00
parent 257503f4dd
commit 08c20366bc
2 changed files with 64 additions and 0 deletions

View File

@ -117,6 +117,54 @@ public class InstantiateVAppParamsType<T extends InstantiateVAppParamsType<T>>
return instantiateVAppParams; return instantiateVAppParams;
} }
/**
* @see ParamsType#getDescription()
*/
public Builder<T> description(String description) {
super.description(description);
return this;
}
/**
* @see ParamsType#getName()
*/
public Builder<T> name(String name) {
super.name(name);
return this;
}
/**
* @see VAppCreationParamsType#getVAppParent()
*/
public Builder<T> vAppParent(Reference vAppParent) {
super.vAppParent(vAppParent);
return this;
}
/**
* @see VAppCreationParamsType#getInstantiationParams()
*/
public Builder<T> instantiationParams(InstantiationParams instantiationParams) {
super.instantiationParams(instantiationParams);
return this;
}
/**
* @see VAppCreationParamsType#getDeploy()
*/
public Builder<T> deploy(Boolean deploy) {
super.deploy(deploy);
return this;
}
/**
* @see VAppCreationParamsType#getPowerOn()
*/
public Builder<T> powerOn(Boolean powerOn) {
super.powerOn(powerOn);
return this;
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */

View File

@ -130,6 +130,22 @@ public class VAppCreationParamsType<T extends VAppCreationParamsType<T>>
return vAppCreationParams; return vAppCreationParams;
} }
/**
* @see ParamsType#getDescription()
*/
public Builder<T> description(String description) {
super.description(description);
return this;
}
/**
* @see ParamsType#getName()
*/
public Builder<T> name(String name) {
super.name(name);
return this;
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */