Change in ovirt-engine-sdk-java[master]: codegen: Add method to get entity by string id
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Thu May 22 14:30:41 UTC 2014
Juan Hernandez has submitted this change and it was merged.
Change subject: codegen: Add method to get entity by string id
......................................................................
codegen: Add method to get entity by string id
Currently the method that allows retrieving an entity by id assumes that
the identifier is a UUID, but this isn't true for some entities. This
patch adds an additional method that allows retrieving entities by id
using a string as the parameter.
Change-Id: Idc86f12d1e336f02f6086d34e464d45a0ad9c48b
Related: https://bugzilla.redhat.com/1099818
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/CollectionTemplate
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/SubCollectionTemplate
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/common/CollectionDecorator.java
3 files changed, 56 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Moti Asayag: Looks good to me, but someone else must approve
--
To view, visit http://gerrit.ovirt.org/27982
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc86f12d1e336f02f6086d34e464d45a0ad9c48b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ilia Meerovich <imeerovi at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list