Change in ovirt-engine-sdk-java[sdk_3.5]: codegen: Add method to get entity by string id

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu May 22 14:36:36 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>
(cherry picked from commit 8ad49637b4a55d019da64f23b1ef933023f0463f)
---
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



-- 
To view, visit http://gerrit.ovirt.org/28016
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: sdk_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list