private boolean isSameWrapperChild(Property in, Property out) { if (!in.name().equals(out.name())) { return false; } if (!in.type().fullName().equals(out.type().fullName())) { return false; } if (!in.elementName().getNamespaceURI().equals(out.elementName().getNamespaceURI())) { return false; } return true; }
/** * Constructor that fills in the values from the given raw model */ JAXBProperty( Property prop ) { this.name = prop.name(); this.type = new JAXBTypeAndAnnotation(prop.type()); this.elementName = prop.elementName(); this.rawTypeName = prop.rawName(); }
/** * Constructor that fills in the values from the given raw model */ JAXBProperty( Property prop ) { this.name = prop.name(); this.type = new JAXBTypeAndAnnotation(prop.type()); this.elementName = prop.elementName(); this.rawTypeName = prop.rawName(); }
/** * Constructor that fills in the values from the given raw model */ JAXBProperty( Property prop ) { this.name = prop.name(); this.type = new JAXBTypeAndAnnotation(prop.type()); this.elementName = prop.elementName(); this.rawTypeName = prop.rawName(); }
/** * Constructor that fills in the values from the given raw model */ JAXBProperty( Property prop ) { this.name = prop.name(); this.type = new JAXBTypeAndAnnotation(prop.type()); this.elementName = prop.elementName(); this.rawTypeName = prop.rawName(); }
private JavaReturn getReturnFromProperty(Property property, Part part) { JType t = property.type(); String targetNamespace = ProcessorUtil.resolvePartNamespace(part); if (targetNamespace == null) { targetNamespace = property.elementName().getNamespaceURI(); } JavaReturn returnType = new JavaReturn(property.name(), t.fullName(), targetNamespace); returnType.setQName(property.elementName()); returnType.setStyle(JavaType.Style.OUT); return returnType; }
private JavaParameter getParameterFromProperty(Property property, JavaType.Style style, Part part) { JType t = property.type(); String targetNamespace = ProcessorUtil.resolvePartNamespace(part); if (targetNamespace == null) { targetNamespace = property.elementName().getNamespaceURI(); } JavaParameter parameter = new JavaParameter(property.name(), t.fullName(), targetNamespace); parameter.setStyle(style); parameter.setQName(property.elementName()); if (style == JavaType.Style.OUT || style == JavaType.Style.INOUT) { parameter.setHolder(true); parameter.setHolderName(javax.xml.ws.Holder.class.getName()); parameter.setHolderClass(t.boxify().fullName()); } return parameter; }