Examples of PropertyName


Examples of com.google.web.bindery.autobean.shared.AutoBean.PropertyName

    }
  }

  static String getEnumName(JEnumConstant e) {
    String name;
    PropertyName annotation = e.getAnnotation(PropertyName.class);
    if (annotation == null) {
      name = e.getName();
    } else {
      name = annotation.value();
    }
    return name;
  }
View Full Code Here

Examples of com.sencha.gxt.core.client.BindingPropertySet.PropertyName

    if (toGenerate == null) {
      logger.log(Type.ERROR, typeName + " is not an interface");
      throw new UnableToCompleteException();
    }

    PropertyName annotation = toGenerate.getAnnotation(PropertyName.class);
    if (annotation == null) {
      logger.log(Type.ERROR, "Cannot generate with a @PropertyName anntation on the type");
      throw new UnableToCompleteException();
    }

    String propertyName = annotation.value();
    SelectionProperty property;
    String value;
    try {
      property = context.getPropertyOracle().getSelectionProperty(logger, propertyName);
      value = property.getCurrentValue();
View Full Code Here

Examples of com.sencha.gxt.core.client.BindingPropertySet.PropertyName

    if (toGenerate == null) {
      logger.log(Type.ERROR, typeName + " is not an interface");
      throw new UnableToCompleteException();
    }

    PropertyName annotation = toGenerate.getAnnotation(PropertyName.class);
    if (annotation == null) {
      logger.log(Type.ERROR, "Cannot generate with a @PropertyName anntation on the type");
      throw new UnableToCompleteException();
    }

    String propertyName = annotation.value();
    SelectionProperty property;
    String value;
    try {
      property = context.getPropertyOracle().getSelectionProperty(logger, propertyName);
      value = property.getCurrentValue();
View Full Code Here

Examples of org.apache.slide.common.PropertyName

                List erroneousPropertiesList = (List)erroneousPropertiesMap.get(errorCode);
                if (erroneousPropertiesList == null) {
                    erroneousPropertiesList = new ArrayList();
                    erroneousPropertiesMap.put(errorCode, erroneousPropertiesList);
                }
                erroneousPropertiesList.add(new PropertyName(property.getName(), property.getNamespace()));
            }
            else {
                propertyElement = getPropertyElement(currentProperty, contextPath, servletPath);
                if (propertyElement != null) {
                    anyPropertyFound = true;
View Full Code Here

Examples of org.apache.slide.common.PropertyName

                                       (WebdavStatus.SC_OK));
       
        Iterator propertyNameIterator = requestedResource.getAllPropertiesNames();
        while (propertyNameIterator.hasNext()) {
           
            PropertyName currentPropertyName = (PropertyName) propertyNameIterator.next();
            if (currentPropertyName != null) {
               
                if ( !extendedAllprop && S_DAV.equals(currentPropertyName.getNamespace()) && (
                        DeltavConstants.DELTAV_PROPERTY_LIST.contains(currentPropertyName.getName()) ||
                            BindConstants.BIND_PROPERTY_LIST.contains(currentPropertyName.getName()) ||
                            AclConstants.ACL_PROPERTY_LIST.contains(currentPropertyName.getName())
                    )
                   ) {
                    // skip properties from specification extensions
                    continue;
                }
View Full Code Here

Examples of org.apache.slide.common.PropertyName

                                           + " " + WebdavStatus.getStatusText(errorCode.intValue()));
           
            Iterator propertyIterator = erroneousPropertiesList.iterator();
            while (propertyIterator.hasNext()) {
               
                PropertyName erroneousProperty =
                    (PropertyName) propertyIterator.next();
                Element propertyElement = getPropertyElement(erroneousProperty.getNamespace(),
                                                             erroneousProperty.getName(),
                                                             null,
                                                             contextPath,
                                                             servletPath);
                if (propertyElement != null) {prop.addContent(propertyElement);}
            }
View Full Code Here

Examples of org.apache.slide.common.PropertyName

     *
     * @return   a boolean
     *
     */
    public boolean isNumeric () {
        return NUMERIC_PROPERTIES.contains (new PropertyName (property, propNamespace));
    }
View Full Code Here

Examples of org.apache.slide.common.PropertyName

        updateDescriptors(resourceUri);
        Set computedLivePropertyNames = getComputedPropertiesNames();
        List propertiesNamesList = new ArrayList(computedLivePropertyNames.size());
        Iterator iterator = computedLivePropertyNames.iterator();
        while (iterator.hasNext()) {
            propertiesNamesList.add(new PropertyName((String)iterator.next(),
                                                     NamespaceCache.DEFAULT_URI));
        }
       
        return propertiesNamesList.iterator();
    }
View Full Code Here

Examples of org.apache.slide.common.PropertyName

        Iterator it =
            orderByElement.getChildren (Literals.ORDER, nameSpace).iterator();

        while (it.hasNext()) {
            Element order = (Element) it.next();
            PropertyName p = getProperty (order);
            boolean isAscending = isAscending (order);
            boolean isCaseSensitive = isCaseSensitive (order);

            orderByElements.add
                (createCompareHint (p, isAscending, isCaseSensitive));
View Full Code Here

Examples of org.apache.slide.common.PropertyName

     *
     */
    protected PropertyName createProperty (Element propElem) throws InvalidQueryException {
        String name = propElem.getName();
        String nameSpace = propElem.getNamespace().getURI();
        return new PropertyName (name, nameSpace);
    }
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.