Package org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceProperties12Draft05

Examples of org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceProperties12Draft05.SetResourcePropertiesResponseDocument


    return jobResources.getIndividualDiskSpace();
  }

  public static org.ggf.schemas.jsdl.x2005.x11.jsdl.RangeValueType getOrCreateIndividualPhysicalMemory(JobDefinitionType value) {

    ResourcesType jobResources = getOrCreateResources(value);
    if (!jobResources.isSetIndividualPhysicalMemory()) {
      jobResources.addNewIndividualPhysicalMemory();
    }
    return jobResources.getIndividualPhysicalMemory();
  }
View Full Code Here


    return descr.getJobIdentification();
  }

  public static OperatingSystemType getOrCreateOperatingSystem(JobDefinitionType value)
  {
    ResourcesType jobResources = getOrCreateResources(value);       
    if(!jobResources.isSetOperatingSystem()) {
      jobResources.addNewOperatingSystem();
    }
    return jobResources.getOperatingSystem();
  }
View Full Code Here

  }


  public static org.ggf.schemas.jsdl.x2005.x11.jsdl.RangeValueType getOrCreateTotalCPUCount(JobDefinitionType value) {

    ResourcesType jobResources = getOrCreateResources(value);
    if ( !jobResources.isSetTotalCPUCount() ) {
      jobResources.addNewTotalCPUCount();
    }
    return jobResources.getTotalCPUCount();
  }
View Full Code Here

  }


  public static org.ggf.schemas.jsdl.x2005.x11.jsdl.RangeValueType getOrCreateTotalResourceCount(JobDefinitionType value) {

    ResourcesType jobResources = getOrCreateResources(value);
    if ( !jobResources.isSetTotalResourceCount())
    {
      jobResources.addNewTotalResourceCount();
    }
    return jobResources.getTotalResourceCount();
  }
View Full Code Here

    if((flags & FLAG_OVERWRITE) != 0) creationFlag = CreationFlagEnumeration.OVERWRITE;
    if((flags & FLAG_APPEND) != 0) creationFlag = CreationFlagEnumeration.APPEND;
    boolean deleteOnTerminate = (flags & FLAG_DELETE_ON_TERMINATE) != 0;
    newDS.setCreationFlag(creationFlag);
    newDS.setDeleteOnTermination(deleteOnTerminate);
    SourceTargetType target = newDS.addNewTarget();

    try {
      uri = (uri == null) ? null : URIUtils.encodeAll(uri);
    } catch (URIException e) {
    }
    target.setURI(uri);
    newDS.setFileName(file);
    if (fileSystem != null && !fileSystem.equals("Work")) {  //$NON-NLS-1$
      newDS.setFilesystemName(fileSystem);
    }
  }
View Full Code Here

        if ( LOG.isDebugEnabled() )
        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ, requestDoc ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

        return responseDoc;
    }

    private SetResourcePropertiesResponseDocument createResponseDocument()
    {
        SetResourcePropertiesResponseDocument responseDoc =
                SetResourcePropertiesResponseDocument.Factory.newInstance();
        responseDoc.addNewSetResourcePropertiesResponse();
        return responseDoc;
    }
View Full Code Here

        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ,
                    requestDoc.toString() ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

        return setResourcePropertyCallback;
    }

    private SetResourcePropertiesResponseDocument createResponseDocument()
    {
        SetResourcePropertiesResponseDocument responseDoc =
                SetResourcePropertiesResponseDocument.Factory.newInstance();
        responseDoc.addNewSetResourcePropertiesResponse();
        return responseDoc;
    }
View Full Code Here

        if ( LOG.isDebugEnabled() )
        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ, requestDoc ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

TOP

Related Classes of org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceProperties12Draft05.SetResourcePropertiesResponseDocument

Copyright © 2018 www.massapicom. 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.