Examples of DefaultValue


Examples of org.apache.isis.viewer.scimpi.dispatcher.view.simple.DefaultValue

        addElementProcessor(new CountElements());
        addElementProcessor(new Diagnostics());
        addElementProcessor(new DebugAccessCheck());
        addElementProcessor(new DebuggerLink());
        addElementProcessor(new DebugUsersView());
        addElementProcessor(new DefaultValue());
        addElementProcessor(new EditLink());
        addElementProcessor(new EditObject());
        addElementProcessor(new ElementType());
        addElementProcessor(new Errors());
        addElementProcessor(new ExcludeField());
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.view.simple.DefaultValue

        addElementProcessor(new CountElements());
        addElementProcessor(new Diagnostics());
        addElementProcessor(new DebugAccessCheck());
        addElementProcessor(new DebuggerLink());
        addElementProcessor(new DebugUsersView());
        addElementProcessor(new DefaultValue());
        addElementProcessor(new EditLink());
        addElementProcessor(new EditObject());
        addElementProcessor(new ElementType());
        addElementProcessor(new ExcludeField());
        addElementProcessor(new Feedback());
View Full Code Here

Examples of org.cruxframework.crux.core.shared.rest.annotation.DefaultValue

    return createParameterExtractorForComplexType(injectTargetClass, type, annotations);
  }
 
  protected static ValueInjector createParameterExtractorForSimpleType(Class<?> injectTargetClass, Type type, Annotation[] annotations)
  {
    DefaultValue defaultValue = ClassUtils.findAnnotation(annotations, DefaultValue.class);
    String defaultVal = null;
    if (defaultValue != null)
    {
      defaultVal = defaultValue.value();
    }

    QueryParam query;
    HeaderParam header;
    PathParam uriParam;
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.DefaultValue

    private FunctionResult functionResult;
   
    @Override
    protected void initDefaultValueService()
    {
        final DefaultValue annotation = context( PropertyDef.class ).getAnnotation( DefaultValue.class );
       
        if( annotation != null )
        {
            final String expr = annotation.text();
           
            if( expr.length() > 0 )
            {
                Function function = null;
               
View Full Code Here

Examples of org.pallewela.dynaprops.DynamicProperties.DefaultValue

    @Override
    public <T extends DynamicProperties> void load(Config<T> config, PropertiesCache cache) {
        Class<T> propsClass = config.getPropertiesClass();
        for (Method method : propsClass.getDeclaredMethods()) {
            DefaultValue defaultValueAnnotation = method.getAnnotation(DefaultValue.class);

            if (defaultValueAnnotation != null) {
                String defaultValue = defaultValueAnnotation.value();
                try {
                    cache.put(method, defaultValue);
                } catch (PropertyNotExistException ex) {
                    LOGGER.log(Level.SEVERE, "Error in PropertiesCache.java", ex);
                    throw new RuntimeException("Error in PropertiesCache.java", ex);
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.