Class WebServiceClientAnnot

    • Method Detail

      • createWebServiceClientAnnotImpl

        public static WebServiceClientAnnot createWebServiceClientAnnotImpl()
      • createFromAnnotation

        public static WebServiceClientAnnot createFromAnnotation​(Annotation annotation)
        Create an instance of this annotation using the values from the annotation instance passed in.
        Parameters:
        annotation - Use the values to create a new instance of annotation. Note this could be an instance of the java annotation superclass as well.
        Returns:
        a new instance of this annotation or null if one could not be created with the annotation passed in.
      • createFromAnnotation

        public static WebServiceClientAnnot createFromAnnotation​(Annotation baseAnnotation,
                                                                 Annotation sparseAnnotation)
        Create a new instance of this annotation using the values from the two annotations passed in as arguments. If either is null, the new annotation is created with the non-null annotation's values. If both are null, then no annotation is created. Non-empty values in the sparse annotation (if any) will override the values in the base annotation.
        Parameters:
        baseAnnotation - Initial values to be used in creating the annotation. May be null.
        sparseAnnotation - Non-empty values (not null and not "") will override values in the base annotation.
        Returns:
        A new annotation created from the arguments, or null if one could not be created.
      • name

        public String name()
        Returns:
        Returns the name.
      • targetNamespace

        public String targetNamespace()
        Returns:
        Returns the targetNamespace.
      • wsdlLocation

        public String wsdlLocation()
        Returns:
        Returns the wsdlLocation.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.
      • setTargetNamespace

        public void setTargetNamespace​(String targetNamespace)
        Parameters:
        targetNamespace - The targetNamespace to set.
      • setWsdlLocation

        public void setWsdlLocation​(String wsdlLocation)
        Parameters:
        wsdlLocation - The wsdlLocation to set.
      • toString

        public String toString()
        Convenience method for unit testing. We will print all of the data members here.
        Specified by:
        toString in interface Annotation
        Overrides:
        toString in class Object