Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setField (0.04 sec)

  1. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        }
    
        @Override
        public Field getField() {
            return field;
        }
    
        /**
         * Sets the public field recognized as a property.
         *
         * @param field
         *            The public field recognized as a property.
         */
        public void setField(final Field field) {
            this.field = field;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong())
                        .setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    continue;
                }
                if (hasPropertyDesc(fname)) {
                    final PropertyDescImpl pd = (PropertyDescImpl) propertyDescCache.get(field.getName());
                    pd.setField(field);
                    continue;
                }
                if (FieldUtil.isPublicField(field)) {
                    final PropertyDescImpl pd = new PropertyDescImpl(field.getName(), field.getType(), null, null, field, this);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Field field = getClass().getField("objectField");
            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Enums.java

       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), termRangeQuery.getField());
    
            if (!isSearchField(field)) {
                final StringBuilder queryBuf = new StringBuilder();
                queryBuf.append(termRangeQuery.includesLower() ? '[' : '{');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(propDesc.getReadMethod(), is(notNullValue()));
            assertThat(propDesc.getWriteMethod(), is(nullValue()));
            assertThat(propDesc.getField(), is(notNullValue()));
    
            propDesc = beanDesc.getPropertyDesc("CCC");
            assertThat(propDesc.getPropertyName(), is("CCC"));
            assertThat(propDesc.getPropertyType(), is(sameClass(boolean.class)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
                context.addHighlightedQuery(text);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        }
    
        /**
         * Test reflection access to constants
         */
        public void test_reflectionAccess() throws Exception {
            Class<?> clazz = FessLabels.class;
            Field field = clazz.getField("LABELS_LOGIN");
            assertNotNull(field);
            assertEquals(String.class, field.getType());
            assertTrue(Modifier.isPublic(field.getModifiers()));
            assertTrue(Modifier.isStatic(field.getModifiers()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top