Examples of VirtualPrimaryKey


Examples of net.sf.minuteProject.configuration.bean.enrichment.VirtualPrimaryKey

  private void complementDataModelWithTableEnrichment (Table table, Entity entity) {
    complementWithEntityField(table, entity);
  }
 
  private void complementWithViewVirtualPrimaryKey(View view, Entity entity) {
    VirtualPrimaryKey virtualPrimaryKey = entity.getVirtualPrimaryKey();
    if (virtualPrimaryKey!=null) {
      if (virtualPrimaryKey.getColumnName()!=null) {
        addVirtualPrimaryKey(view, virtualPrimaryKey.getColumnName());
      }
      if (virtualPrimaryKey.getProperties()!=null)
        for (Property property : virtualPrimaryKey.getProperties()) {
          if (property.getName().equals("virtualPrimaryKey")) {
            addVirtualPrimaryKey(view, property.getValue());
          }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.