Examples of Reference


Examples of org.objectweb.jorm.metainfo.api.Reference

                        } else {
                            //identifier of a class
                            className = pnf.getMetaObjectClass().getFQName();
                        }
                    } else {
                        Reference ref = pnf.getReference();
                        if (ref instanceof ClassRef) {
                            //reference to a class
                            className = ((ClassRef) ref).getMOClass().getFQName();
                        } else if (ref instanceof GenClassRef) {
                            //reference to a genclass

Examples of org.opensaml.ws.wssecurity.Reference

*/
public class ReferenceMarshaller extends AbstractWSSecurityObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Reference reference = (Reference) xmlObject;
       
        if (!DatatypeHelper.isEmpty(reference.getURI())) {
            domElement.setAttributeNS(null, Reference.URI_ATTRIB_NAME, reference.getURI());
        }
       
        if (!DatatypeHelper.isEmpty(reference.getValueType())) {
            domElement.setAttributeNS(null, Reference.VALUE_TYPE_ATTRIB_NAME, reference.getValueType());
        }
       
        XMLHelper.marshallAttributeMap(reference.getUnknownAttributes(), domElement);
       
    }

Examples of org.osgi.service.component.annotations.Reference

    final Method[] methodArray = type.getDeclaredMethods();

    for (final Method method : methodArray) {

      final Reference anno = method.getAnnotation(Reference.class);

      if (anno == null) {
        continue;
      }

Examples of org.osoa.sca.annotations.Reference

        } else {
            field = JavaIntrospectionHelper.findClosestMatchingField(refName, refClass, fields);
            if (field == null) {
                // hack for TUSCANY-300
                for (Field current : fields) {
                    Reference annot = current.getAnnotation(Reference.class);
                    if (annot != null) {
                        if (refName.equals(annot.name())) {
                            field = current;
                            break;
                        }
                    }
                }
                if (field == null) {
                    method = JavaIntrospectionHelper.findClosestMatchingMethod(refName, new Class[]{refClass}, methods);
                    if(method == null){
                        // Fix for Tuscany-325
                        method = JavaIntrospectionHelper.findClosestMatchingMethod("set"+refName.substring(0,1).toUpperCase()+ refName.substring(1), new Class[]{refClass}, methods);
                    }
                    if (method == null) {
                        // hack for TUSCANY-300
                        for (Method current : methods) {
                            Reference annot = current.getAnnotation(Reference.class);
                            if (annot != null) {
                                if (refName.equals(annot.name())) {
                                    method = current;
                                    break;
                                }
                            }
                        }

Examples of org.owasp.dependencycheck.dependency.Reference

        } else if (current.isVulnProductNode()) {
            nodeText = new StringBuilder(100);
        } else if (current.isVulnReferencesNode()) {
            final String lang = attributes.getValue("xml:lang");
            if ("en".equals(lang)) {
                reference = new Reference();
            } else {
                reference = null;
            }
        } else if (reference != null && current.isVulnReferenceNode()) {
            reference.setUrl(attributes.getValue("href"));

Examples of org.patika.mada.dataXML.Reference

  {
    String refs = "";

    for (Object o : row.getRef())
    {
      Reference ref = (Reference) o;
      refs += ref.getDb() + ":" + ref.getValue() + " ";
    }
    return refs;
  }

Examples of org.restlet.client.data.Reference

     *            The method to call.
     * @param uri
     *            The target URI.
     */
    public ClientResource(Context context, Method method, String uri) {
        this(context, method, new Reference(uri));
    }

Examples of org.restlet.data.Reference

    throws ResourceException
  {
    try {
      String connectionID = getRepository().getConnection().getID();

      Reference connectionRef = getRequest().getResourceRef().clone();
      connectionRef.addSegment(connectionID);
      getResponse().setLocationRef(connectionRef);

      getResponse().setStatus(Status.SUCCESS_CREATED);
      return null;
    }

Examples of org.springframework.ide.eclipse.beans.ui.graph.model.Reference

        Set<String> autowiredProperties = new HashSet<String>();
        Set<IBeanReference> refs = entry.getValue();
        for (IBeanReference ref : refs) {
          Bean targetBean = beans.get(ref.getBeanName());
          if (targetBean != null) {
            beansReferences.add(new Reference(BeanType.STANDARD, bean, targetBean, null,
                !bean.isRootBean(), (IResourceModelElement) ref));

            try {
              IJavaElement source = ((AutowireBeanReference) ref).getSource();
              if (source instanceof IField) {

Examples of org.springframework.roo.addon.dbre.model.Reference

            // Assume many-to-one multiplicity
            JavaSymbolName fieldName = null;
            final String foreignTableName = foreignTable.getName();
            final String foreignSchemaName = foreignTable.getSchema().getName();
            if (foreignKey.getReferenceCount() == 1) {
                final Reference reference = foreignKey.getReferences()
                        .iterator().next();
                fieldName = new JavaSymbolName(
                        DbreTypeUtils.suggestFieldName(reference
                                .getLocalColumnName()));
            }
            else {
                final Short keySequence = foreignKey.getKeySequence();
                final String fieldSuffix = keySequence != null
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.