Package org.uddi4j.datatype.binding
Class BindingTemplate
java.lang.Object
org.uddi4j.UDDIElement
org.uddi4j.datatype.binding.BindingTemplate
- All Implemented Interfaces:
Serializable
Represents the bindingTemplate element within the UDDI version 2.0 schema.
This class contains the following types of methods:
- Constructors for passing required fields.
- Constructor that will instantiate the object from an XML DOM element that is the appropriate element for this object.
- Get/set methods for each attribute that this element can contain.
- For sets of attributes, a get/setVector method is provided.
- SaveToXML method. Serialized this class within a passed in element. *
Element description: Primary Data type: Describes an instance of a web service in technical terms.
- Author:
- David Melgar (dmelgar@us.ibm.com), Ozzy (ozzy@hursley.ibm.com)
- See Also:
-
Field Summary
FieldsFields inherited from class org.uddi4j.UDDIElement
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.BindingTemplate
(String bindingKey, TModelInstanceDetails tModelInstanceDetails) Deprecated.This method has been deprecated.BindingTemplate
(String bindingKey, TModelInstanceDetails tModelInstanceDetails, AccessPoint accessPoint) Construct the object with required fields.BindingTemplate
(String bindingKey, TModelInstanceDetails tModelInstanceDetails, HostingRedirector hostingRedirector) Construct the object with required fields.BindingTemplate
(Element base) Construct the object from a DOM tree. -
Method Summary
Modifier and TypeMethodDescriptionGet default description string.Get description.void
Save object to DOM tree.void
void
void
Set default (english) description string.void
Set description vector.void
void
void
Methods inherited from class org.uddi4j.UDDIElement
getChildElementsByTagName, getText
-
Field Details
-
UDDI_TAG
- See Also:
-
base
-
-
Constructor Details
-
BindingTemplate
public BindingTemplate()Default constructor. Use of this constructor should be avoided. Use the required fields constructor to provide validation. No validation of required fields is performed when using the default constructor. -
BindingTemplate
Deprecated.This method has been deprecated. UseBindingTemplate(String, TModelInstanceDetails, AccessPoint)
orBindingTemplate(String, TModelInstanceDetails, HostingRedirector)
instead.Construct the object with required fields.- Parameters:
bindingKey
- StringTModelInstanceDetails
- TModelInstanceDetails object
-
BindingTemplate
public BindingTemplate(String bindingKey, TModelInstanceDetails tModelInstanceDetails, AccessPoint accessPoint) Construct the object with required fields.- Parameters:
bindingKey
- StringTModelInstanceDetails
- TModelInstanceDetails objectAccessPoint
- AccessPoint object
-
BindingTemplate
public BindingTemplate(String bindingKey, TModelInstanceDetails tModelInstanceDetails, HostingRedirector hostingRedirector) Construct the object with required fields.- Parameters:
bindingKey
- StringTModelInstanceDetails
- TModelInstanceDetails objectHostingRedirector
- Hosting Redirector object
-
BindingTemplate
Construct the object from a DOM tree. Used by UDDIProxy to construct object from received UDDI message.- Parameters:
base
- Element with name appropriate for this class.- Throws:
UDDIException
- Thrown if DOM tree contains a SOAP fault or disposition report indicating a UDDI error.
-
-
Method Details
-
setBindingKey
-
setServiceKey
-
setAccessPoint
-
setHostingRedirector
-
setTModelInstanceDetails
-
setDescriptionVector
Set description vector.- Parameters:
s
- Vector of Description objects.
-
setDefaultDescriptionString
Set default (english) description string.- Parameters:
s
- String
-
getBindingKey
-
getServiceKey
-
getAccessPoint
-
getHostingRedirector
-
getTModelInstanceDetails
-
getDescriptionVector
Get description.- Returns:
- s Vector of Description objects.
-
getDefaultDescriptionString
Get default description string.- Returns:
- s String
-
saveToXML
Save object to DOM tree. Used to serialize object to a DOM tree, usually to send a UDDI message.
Used by UDDIProxy.- Specified by:
saveToXML
in classUDDIElement
- Parameters:
parent
- Object will serialize as a child element under the passed in parent element.
-