com.sun.tools.ws.processor.model.jaxb.RpcLitStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxws-tools Show documentation
Show all versions of jaxws-tools Show documentation
Open source Reference Implementation of JSR-224: Java API for XML Web Services
The newest version!
/*
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.tools.ws.processor.model.jaxb;
import com.sun.tools.ws.processor.model.AbstractType;
import javax.xml.namespace.QName;
import java.util.ArrayList;
import java.util.List;
/**
* @author Vivek Pandey
*
* RPC Structure that will be used to create RpcLitPayload latter
*/
public class RpcLitStructure extends AbstractType {
private List members;
private JAXBModel jaxbModel;
/**
*
*/
public RpcLitStructure() {
super();
// TODO Auto-generated constructor stub
}
public RpcLitStructure(QName name, JAXBModel jaxbModel){
setName(name);
this.jaxbModel = jaxbModel;
this.members = new ArrayList<>();
}
public RpcLitStructure(QName name, JAXBModel jaxbModel, List members){
setName(name);
this.members = members;
}
public void accept(JAXBTypeVisitor visitor) throws Exception {
visitor.visit(this);
}
public List getRpcLitMembers(){
return members;
}
public List setRpcLitMembers(List members){
return this.members = members;
}
public void addRpcLitMember(RpcLitMember member){
members.add(member);
}
/**
* @return Returns the jaxbModel.
*/
public JAXBModel getJaxbModel() {
return jaxbModel;
}
/**
* @param jaxbModel The jaxbModel to set.
*/
public void setJaxbModel(JAXBModel jaxbModel) {
this.jaxbModel = jaxbModel;
}
@Override
public boolean isLiteralType() {
return true;
}
}