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 <[email protected]>
(cherry picked from commit 8ad49637b4a55d019da64f23b1ef933023f0463f)
(cherry picked from commit 264e3207d5783c39e74135b9158e56a7a662bc55)
---
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/28029
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.4
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to