コード例 #1
0
 static boolean isRelationshipField(ISearchField field) {
   if (AbstractSearchField.class.isInstance(field)) {
     AbstractSearchField selection = (AbstractSearchField) field;
     return selection.getRootField().getDataType().equals(DataTypeEnum.RELATIONSHIP)
         && (selection.getInnerField() == null
             || selection.getInnerField().equals(InternalFieldEnum.ID.getDbName()));
   }
   return false;
 }
コード例 #2
0
 public String getSearchFieldValueName(AbstractSearchField field) {
   return field.getRootField().getFlattenValueDbName();
 }