Examples of propertyType()


Examples of org.apache.padaf.xmpbox.schema.PropertyType.propertyType()

    Field[] fields = schemaClass.getFields();
    for (Field field : fields) {
      if (field.isAnnotationPresent(PropertyType.class)) {
        if (!field.get(schema).equals(property)) {
          PropertyType pt = field.getAnnotation(PropertyType.class);
          if (pt.propertyType().equals("Lang Alt")) {
            // do not check method existence
          } else if (pt.propertyType().equals("Alt Thumbnail")) {
            // do not check method existence
          } else {
            // type test
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.PropertyType.propertyType()

      if (field.isAnnotationPresent(PropertyType.class)) {
        if (!field.get(schema).equals(property)) {
          PropertyType pt = field.getAnnotation(PropertyType.class);
          if (pt.propertyType().equals("Lang Alt")) {
            // do not check method existence
          } else if (pt.propertyType().equals("Alt Thumbnail")) {
            // do not check method existence
          } else {
            // type test
            String getName = "get"
                + firstUpper(field.get(schema).toString());
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.PropertyType.propertyType()

            }
            if ((propDesc == null) || propDesc.equals("")) {
              propDesc = "Not documented description";
            }
            desc.addProperty(propName,
                propTypeAnnot.propertyType(), propExtDefAnnot
                    .propertyCategory(), propDesc);
          } catch (BadFieldValueException e) {
            throw propertyDescriptionError(classSchem.getName(),
                propName, "Wrong value for property Category",
                e);
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.PropertyType.propertyType()

                // System.out.println("nameField:"+propName);
                propType = field.getAnnotation(PropertyType.class);
                // System.out.println("Type '"+propInfo.propertyType()+"' defined for "+propName);
                if (!field
                        .isAnnotationPresent(PropertyAttributesAnnotation.class)) {
                    propMap.addNewProperty(propName, propType.propertyType(),
                            null);
                } else {
                    // TODO Case where a special annotation is used to specify
                    // attributes
                    // NOT IMPLEMENTED YET, JUST TO GIVE A CLUE TO MAKE THIS
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.PropertyType.propertyType()

                    .getAnnotation(PropertyAttributesAnnotation.class);
                    List<String> attributes = new ArrayList<String>();
                    for (String att : propAtt.expectedAttributes()) {
                        attributes.add(att);
                    }
                    propMap.addNewProperty(propName, propType.propertyType(),
                            attributes);
                }
            }
        }
        return propMap;
View Full Code Here

Examples of org.apache.tapestry.beaneditor.PropertyEditModel.propertyType()

        PropertyEditModel propertyModel = new PropertyEditModelImpl(this, propertyName)
                .label(label).conduit(conduit);

        if (adapter != null)
            propertyModel.propertyType(adapter.getType());

        if (conduit != null)
        {
            Order annotation = conduit.getAnnotation(Order.class);
View Full Code Here

Examples of org.chromium.sdk.internal.v8native.protocol.input.data.PropertyWithRef.propertyType()

      Long getPropertyType(PropertyObject prop) {
        PropertyWithRef asPropertyWithRef = prop.asPropertyWithRef();
        if (asPropertyWithRef == null) {
          return null;
        }
        return asPropertyWithRef.propertyType();
      }
    }

    abstract DataWithRef getRef(OBJ prop);
View Full Code Here

Examples of org.chromium.sdk.internal.v8native.protocol.input.data.PropertyWithRef.propertyType()

      Long getPropertyType(PropertyObject prop) {
        PropertyWithRef asPropertyWithRef = prop.asPropertyWithRef();
        if (asPropertyWithRef == null) {
          return null;
        }
        return asPropertyWithRef.propertyType();
      }
    }

    abstract DataWithRef getRef(OBJ prop);
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.GraphProperty.propertyType()

    }

    private Class<?> extractPropertyType() {
        final GraphProperty graphProperty = getAnnotation(GraphProperty.class);
        if (graphProperty==null) return null;
        return graphProperty.propertyType();
    }

    private String extractDefaultValue() {
        final GraphProperty graphProperty = getAnnotation(GraphProperty.class);
        if (graphProperty==null) return null;
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.