com.sun.tools.internal.ws.processor.model.AbstractType Java Examples

The following examples show how to use com.sun.tools.internal.ws.processor.model.AbstractType. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ModelerUtils.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #2
Source File: ModelerUtils.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #3
Source File: ModelerUtils.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #4
Source File: ModelerUtils.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #5
Source File: ModelerUtils.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #6
Source File: ModelerUtils.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #7
Source File: ModelerUtils.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}
 
Example #8
Source File: ModelerUtils.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Called for non-wrapper style operations. It returns a Parameter constructed
 * using the JAXBType and the Block.
 *
 * @param partName typically wsdl:part or any name to be given to the parameter
 * @param jaxbType type of Parameter
 * @param block Block to which the parameter belongs to
 * @return Parameter created.
 */
public static Parameter createParameter(String partName, AbstractType jaxbType,
        Block block) {
    Parameter parameter = new Parameter(partName, block.getEntity());
    parameter.setProperty(ModelProperties.PROPERTY_PARAM_MESSAGE_PART_NAME,
            partName);
    parameter.setEmbedded(false);
    parameter.setType(jaxbType);
    parameter.setTypeName(jaxbType.getJavaType().getType().getName());
    parameter.setBlock(block);
    return parameter;
}