예제 #1
0
 public static PropertyExpression getRecordFieldValue(
     final RecordValue rv, final String fieldName) {
   final EList<BasicPropertyAssociation> pvl = rv.getOwnedFieldValues();
   for (BasicPropertyAssociation ba : pvl) {
     if (ba.getProperty().getName().equalsIgnoreCase(fieldName)) {
       return ba.getValue();
     }
   }
   return null;
 }
  protected boolean _isLeaf(BasicPropertyAssociation bpa) {

    if (bpa.eContainer() instanceof RecordValue) {
      return true;
    }
    return false;
  }