@Test public void testDoesFieldNameMatchArrayCountPattern_NullValue(){ assertFalse(PredefinedFields.doesFieldNameMatchArrayCountPattern(null)); }
static boolean doesFieldNameMatchArrayCountPattern(String fieldName){ if(fieldName == null){ return false; } return fieldName.endsWith(FIELD_ARRAY_COUNT_POSTFIX); }
PredefinedFields { static boolean doesFieldNameMatchArrayCountPattern(String fieldName){ if(fieldName == null){ return false; } return fieldName.endsWith(FIELD_ARRAY_COUNT_POSTFIX); } }
PredefinedFields { static boolean doesFieldNameMatchArrayCountPattern(String fieldName){ if(fieldName == null){ return false; } return fieldName.endsWith(FIELD_ARRAY_COUNT_POSTFIX); } private  PredefinedFields(); }
PredefinedFields { static boolean doesFieldNameMatchArrayCountPattern(String fieldName){ if(fieldName == null){ return false; } return fieldName.endsWith(FIELD_ARRAY_COUNT_POSTFIX); } private  PredefinedFields(); static void ensurePredefinedFields(EntityMetadata md); static void updateArraySizes(EntityMetadata md, JsonNodeFactory factory, JsonDoc doc); static boolean isFieldObjectType(String fieldName); static boolean isFieldAnArrayCount(String fieldName, Fields metadataFields); static boolean isPredefinedField(String fieldName, Fields fields); static String createArrayFieldNameFromCountField(String countField); static String createArrayCountFieldName(String arrayFieldName); }
PredefinedFields { static boolean doesFieldNameMatchArrayCountPattern(String fieldName){ if(fieldName == null){ return false; } return fieldName.endsWith(FIELD_ARRAY_COUNT_POSTFIX); } private  PredefinedFields(); static void ensurePredefinedFields(EntityMetadata md); static void updateArraySizes(EntityMetadata md, JsonNodeFactory factory, JsonDoc doc); static boolean isFieldObjectType(String fieldName); static boolean isFieldAnArrayCount(String fieldName, Fields metadataFields); static boolean isPredefinedField(String fieldName, Fields fields); static String createArrayFieldNameFromCountField(String countField); static String createArrayCountFieldName(String arrayFieldName); static final String OBJECTTYPE_FIELD; static final String FIELD_ARRAY_COUNT_POSTFIX; static final Path OBJECTTYPE_PATH; }