Author: doogie
Date: Sat Nov 14 01:14:49 2009
New Revision: 836086
URL:
http://svn.apache.org/viewvc?rev=836086&view=revLog:
Helper method to add several complex alias members.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java?rev=836086&r1=836085&r2=836086&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java Sat Nov 14 01:14:49 2009
@@ -927,6 +927,10 @@
this.complexAliasMembers.add(complexAliasMember);
}
+ public void addAllComplexAliasMembers(List<ComplexAliasMember> complexAliasMembers) {
+ this.complexAliasMembers.addAll(complexAliasMembers);
+ }
+
public void makeAliasColName(StringBuilder colNameBuffer, StringBuilder fieldTypeBuffer, ModelViewEntity modelViewEntity, ModelReader modelReader) {
if (complexAliasMembers.size() == 0) {
return;