Examples of PropertyKey


Examples of org.apache.myfaces.trinidad.bean.PropertyKey

    return bean;
 
  static void setValueBinding(FacesBean bean, String name, ValueBinding binding)
  {  
    PropertyKey key = _getPropertyKey(bean, name, true);
    bean.setValueBinding(key, binding);
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.PropertyKey

    bean.setValueBinding(key, binding);
  }
  static ValueBinding getValueBinding(FacesBean bean, String name)
  {
    PropertyKey key = _getPropertyKey(bean, name, true);
    return bean.getValueBinding(key);
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.PropertyKey

    String name, 
    boolean isStrict)
  {  
    _assertNotNull(name, "attribute cannot be null");
    FacesBean.Type type = bean.getType();
    PropertyKey key = type.findKey(name);
    if (isStrict && key == null)
     throw new IllegalArgumentException("Invalid attribute name " + name);
    else
    return key;
  }
View Full Code Here

Examples of org.conventionsframework.qualifier.PropertyKey

    @Produces
    @PropertyKey
    public String produceKey(InjectionPoint ip) {

        if (ip.getAnnotated().isAnnotationPresent(PropertyKey.class)) {
            PropertyKey property = ip.getAnnotated().getAnnotation(PropertyKey.class);
            this.loadProperties(property.file());
            return currentProps.getProperty(property.key());
        }
        return "";
    }
View Full Code Here

Examples of org.hibernate.ogm.options.navigation.impl.PropertyKey

    return options != null ? options.build() : OptionsContainer.EMPTY;
  }

  @Override
  public OptionsContainer getPropertyOptions(Class<?> entityType, String propertyName) {
    OptionsContainerBuilder options = getPropertyOptions( entityType ).get( new PropertyKey( entityType, propertyName ) );
    return options != null ? options.build() : OptionsContainer.EMPTY;
  }
View Full Code Here

Examples of org.hibernate.ogm.options.navigation.impl.PropertyKey

        continue;
      }

      final OptionsContainerBuilder optionsOfProperty = convertOptionAnnotations( method.getAnnotations() );
      if ( optionsOfProperty != null ) {
        optionsByProperty.put( new PropertyKey( entityClass, propertyName ), optionsOfProperty );
      }
    }

    for ( final Field field : entityClass.getDeclaredFields() ) {
      PropertyKey key = new PropertyKey( entityClass, field.getName() );
      OptionsContainerBuilder optionsOfField = convertOptionAnnotations( field.getAnnotations() );

      if ( optionsOfField != null ) {
        OptionsContainerBuilder optionsOfProperty = optionsByProperty.get( key );
        if ( optionsOfProperty != null ) {
View Full Code Here

Examples of org.hibernate.ogm.options.navigation.impl.PropertyKey

    return entityOptions != null ? entityOptions : OptionsContainer.EMPTY;
  }

  @Override
  public OptionsContainer getPropertyOptions(Class<?> entityType, String propertyName) {
    OptionsContainer propertyOptions = optionsPerProperty.get( new PropertyKey( entityType, propertyName ) );
    return propertyOptions != null ? propertyOptions : OptionsContainer.EMPTY;
  }
View Full Code Here

Examples of org.structr.core.property.PropertyKey

        tx.success();
      }

      // fetch dynamic type info
      final Class dynamicType   = StructrApp.getConfiguration().getNodeEntityClass("TestType");
      final PropertyKey testKey = StructrApp.getConfiguration().getPropertyKeyForJSONName(dynamicType, "test");

      // modify schema node but keep reference to "old" type
      try (final Tx tx = app.tx()) {

        node.setProperty(new StringProperty("_test2"), "String");
View Full Code Here

Examples of pspdash.PropertyKey

    protected void writeContents() throws IOException {
        String prefix = getPrefix();
        if (prefix == null) prefix = "";

        PSPProperties props = getPSPProperties();
        PropertyKey key = props.findExistingKey(prefix);

        out.write("<HTML><HEAD>");
        out.write("<link rel=stylesheet type='text/css' href='/style.css'>");
        out.write("<TITLE>Hierarchy");
        if (prefix.length() > 0) {
            out.write(" - ");
            out.write(prefix);
        }
        out.write("</TITLE></HEAD><BODY>");
        if (prefix.length() > 0) {
            out.write("<B>");
            out.write(prefix);
            out.write("</B>");
        }

        PropertyKey child;
        for (int i=0;   i < props.getNumChildren(key);   i++)
            writeNode(props, props.getChildKey(key, i));

        Vector scripts = props.getScriptIDs(key);
        ScriptID script;
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.