/** * The simple name of the method. * * @return The simple name of the method. */ public String getMessageName() { return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName(); }
/** * This web result defines an implicit schema element if it is of DOCUMENT binding style and it is * either BARE or a header. * * @return Whether this web result is an implicit schema element. */ public boolean isImplicitSchemaElement() { return isHeader() || (method.getSoapBindingStyle() != SOAPBinding.Style.RPC && method.getSoapParameterStyle() == SOAPBinding.ParameterStyle.BARE); }
/** * If the web method style is RPC, the particle type is TYPE. Otherwise, it's ELEMENT. * * @return The particle type. */ public ParticleType getParticleType() { return this.method.getSoapBindingStyle() == SOAPBinding.Style.RPC ? isHeader() ? ParticleType.ELEMENT : ParticleType.TYPE : ParticleType.ELEMENT; }
/** * The message name in the case of a document/bare service. * * @return The message name in the case of a document/bare service. */ public String getMessageName() { String messageName = null; if (isBare()) { messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "Response"; } else if (isHeader()) { messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "." + getName(); } return messageName; }
/** * The message name of the message for this parameter, if this is a BARE web param. * * @return The message name of the message for this parameter, or null if this is not a BARE web param. */ public String getMessageName() { String messageName = null; if (isBare()) { messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName(); } else if (isHeader()) { messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "." + getBaseParamName(); } return messageName; }
public static AdapterType findAdapterType(WebParam parameter, EnunciateJaxbContext context) { return findAdapterType((DecoratedTypeMirror) parameter.asType(), parameter, parameter.getWebMethod().getDeclaringEndpointInterface().getPackage(), context); } }
/** * This web parameter defines an implicit schema element if it is DOCUMENT binding style and either BARE or a header. * * @return Whether this web parameter is an implicit schema element. */ public boolean isImplicitSchemaElement() { return isHeader() || (method.getSoapBindingStyle() != SOAPBinding.Style.RPC && method.getSoapParameterStyle() == SOAPBinding.ParameterStyle.BARE); }
/** * The target namespace of the rpc message. * * @return The target namespace of the rpc message. */ public String getTargetNamespace() { return webMethod.getDeclaringEndpointInterface().getTargetNamespace(); }
/** * If the web method style is RPC, the particle type is TYPE. Otherwise, it's ELEMENT. * * @return The particle type. */ public ParticleType getParticleType() { return this.method.getSoapBindingStyle() == SOAPBinding.Style.RPC ? isHeader() ? ParticleType.ELEMENT : ParticleType.TYPE : ParticleType.ELEMENT; }
@Override public TypeMirror getClientConvertibleType() { return getType(); } }
/** * The element name of the implicit web fault bean, or null if this isn't an implicit web fault. * * @return The element name of the implicit web fault, or null. */ public String getElementName() { String name = null; if (isImplicitSchemaElement()) { name = getParticleName(); } return name; }
/** * The path where this service is mounted. * * @return The path where this service is mounted. */ public String getPath() { for (EndpointImplementation implementation : getEndpointImplementations()) { String path = implementation.getPath(); if (path != null) { return path; } } return "/" + getServiceName(); }
/** * If this web result is a part, the comments for the result. * * @return The part docs. */ public String getPartDocs() { if (isBare()) { return null; } return getDocComment(); }
/** * There is only message documentation if this web parameter is BARE. * * @return The documentation if BARE, null otherwise. */ public String getMessageDocs() { if (isBare()) { return getDocComment(); } return null; }
/** * The operation name for this RPC operation to which this message is associated. * * @return The operation name for this RPC operation to which this message is associated. */ public String getOperationName() { return webMethod.getOperationName(); }
/** * The simple name of the method appended with "Response". * * @return The simple name of the method appended with "Response". */ public String getMessageName() { return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName() + "Response"; }
/** * The target namespace of the rpc message. * * @return The target namespace of the rpc message. */ public String getTargetNamespace() { return webMethod.getDeclaringEndpointInterface().getTargetNamespace(); }
public String getMessageName() { return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + this.webMethod.getSimpleName() + "Response"; }
public String getMessageName() { return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName(); }