Examples of Object


Examples of org.apache.cxf.binding.corba.wsdl.Object

        XmlSchemaType objectType = new XmlSchemaType(wsaSchema);
        objectType.setName(ReferenceConstants.WSADDRESSING_LOCAL_NAME);
        setSchemaType(objectType);
       
        // Build and assign the corba:object to the visitor
        Object corbaObject = new Object();
        corbaObject.setQName(new QName(typeMap.getTargetNamespace(), "CORBA.Object"));
        corbaObject.setRepositoryID("IDL:omg.org/CORBA/Object/1.0");
        corbaObject.setType(objectType.getQName());
        setCorbaType(corbaObject);
       
        // Add the object definition to the typemap.  We only need to add the default
        // type once.
        if (!isReferenceCORBATypeDefined(corbaObject.getQName())) {
            typeMap.getStructOrExceptionOrUnion().add(corbaObject);
        }
    }
View Full Code Here

Examples of org.apache.schemas.yoko.bindings.corba.Object

        XmlSchemaType objectType = new XmlSchemaType(wsaSchema);
        objectType.setName(ReferenceConstants.WSADDRESSING_LOCAL_NAME);
        setSchemaType(objectType);
       
        // Build and assign the corba:object to the visitor
        Object corbaObject = new Object();
        corbaObject.setBinding(new QName(""));
        corbaObject.setQName(new QName(typeMap.getTargetNamespace(), "CORBA.Object"));
        corbaObject.setRepositoryID("IDL:omg.org/CORBA/Object/1.0");
        corbaObject.setType(objectType.getQName());
        setCorbaType(corbaObject);
       
        // Add the object definition to the typemap.  We only need to add the default
        // type once.
        if (!isReferenceCORBATypeDefined(corbaObject.getQName())) {
            typeMap.getStructOrExceptionOrUnion().add(corbaObject);
        }
    }
View Full Code Here

Examples of org.apache.schemas.yoko.bindings.corba.Object

        XmlSchemaType endpointType = new XmlSchemaType(schema);
        endpointType.setName(referenceName.getLocalPart());
        setSchemaType(endpointType);
       
        // Build and assign the corba:object to the visitor
        Object corbaObject = new Object();
        corbaObject.setBinding(bindingName);
        corbaObject.setQName(new QName(typeMap.getTargetNamespace(), customScope.toString()));
        corbaObject.setRepositoryID(repositoryID);
        corbaObject.setType(wsaType.getQName());
        setCorbaType(corbaObject);
       
        // Add the object definition to the typemap.  We only need to add the default
        // type once.
        if (!isReferenceCORBATypeDefined(corbaObject.getQName())) {
            typeMap.getStructOrExceptionOrUnion().add(corbaObject);
        }
    }
View Full Code Here

Examples of org.evolizer.ontology.annotations.object

      if(sAnnotation != null) {
        Object value = DefaultReflectionProvider.invoke(method, instance);
        tmpStatement.setSubject(value);
      }
     
      object oAnnotation = method.getAnnotation(object.class);
      if(oAnnotation != null) {
        // TODO only 1:1 relations are handled, need to take care of 1:n relations as well.
        Object value = DefaultReflectionProvider.invoke(method, instance);
        tmpStatement.setObject(value);
      }
View Full Code Here

Examples of org.omg.CORBA.Object

public class Client {
    static int run(ORB orb, String[] args) throws UserException {

        // Get "hello" object
        Object obj = orb.string_to_object("corbaloc::localhost:40000/hw");
        if(obj == null) {
            System.err.println("Client: Could not resolve target object");
            return 1;
        }
View Full Code Here

Examples of org.omg.CORBA.Object

public class Client {
    static int run(ORB orb, String[] args) throws UserException {

        // Get "hello" object
  Object obj = orb.string_to_object("corbaloc::localhost:40000/hw");
  if(obj == null) {
      System.err.println("Client: Could not resolve target object");
      return 1;
  }
View Full Code Here

Examples of org.omg.CORBA.Object

            handleException(e);
        }
    }

    public Object lookup(String uri) throws CorbaHostException {
        Object result = null;
        try {
            CorbanameURL url = new CorbanameURL(uri);
            NamingContextExt context = getNamingContext(url.getNameService());
            result = context.resolve_str(url.getName());
        } catch (Exception e) {
View Full Code Here

Examples of org.omg.CORBA.Object

    /**
     * Binds servant implementation to name
     */
    private void bindServant(DynaCorbaServant servant, String name) {
        try {
            Object nameService = orb.resolve_initial_references("NameService");
            NamingContext namingContext = NamingContextHelper.narrow(nameService);

            NameComponent nc = new NameComponent(name, "");
            NameComponent[] path = new NameComponent[] {nc};
            namingContext.rebind(path, servant);
View Full Code Here

Examples of org.openbel.framework.common.model.Statement.Object

        Term proteinTrm = new Term(PROTEIN_ABUNDANCE);
        proteinTrm.addFunctionArgument(pp);

        Statement stmt = null;
        final Object obj = new Object(term);
        if (isMutation(fx)) {
            // mutation
            // protein term connects to its mutation with HAS_VARIANT
            // relationship
            stmt = new Statement(proteinTrm, null, null, obj, HAS_VARIANT);
View Full Code Here

Examples of org.xwiki.rest.model.jaxb.Object

        Page page = (Page) unmarshaller.unmarshal(getMethod.getResponseBodyAsStream());
        Link link = getFirstLinkByRelation(page, Relations.OBJECTS);

        /* Create a tag object if it doesn't exist yet */
        if (link == null) {
            Object object = objectFactory.createObject();
            object.setClassName("XWiki.TagClass");

            PostMethod postMethod =
                executePostXml(getUriBuilder(ObjectsResource.class).build(getWiki(), "Main", "WebHome").toString(),
                    object, "Admin", "admin");
            Assert.assertEquals(getHttpMethodInfo(postMethod), HttpStatus.SC_CREATED, postMethod.getStatusCode());
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.