Tal Nisan has posted comments on this change.
Change subject: core: WIP: Adding JPA to ovirt
......................................................................
Patch Set 1:
(1 comment)
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDSGroup.java
Line 39: @Size(min = 1, max =
BusinessEntitiesDefinitions.CLUSTER_NAME_SIZE, message =
"VALIDATION.VDS_GROUP.NAME.MAX",
Line 40: groups = {
Line 41: CreateEntity.class, UpdateEntity.class })
Line 42: @ValidI18NName(message = "VALIDATION.VDS_GROUP.NAME.INVALID",
groups = { CreateEntity.class, UpdateEntity.class })
Line 43: @Column(name = "name")
But then you have to put transient on transient fields that don't have getters
where otherwise you can just put it on transient getters, basically it's a
matter of which convention you prefer better, I like the getters one since you
don't have to annotate private fields that are not exposed via getters outside
the class
Line 44: private String name;
Line 45:
Line 46: @Size(max = BusinessEntitiesDefinitions.GENERAL_MAX_SIZE)
Line 47: @Column(name = "description")
--
To view, visit http://gerrit.ovirt.org/22806
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I3cd0bbf9f0913955cb3e1facfa9a4bdc1f1ab24d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches