SpecificationLink (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.registry.infomodel Interface SpecificationLink

所有父接口:
ExtensibleObject, RegistryObject

public interface SpecificationLink
extends RegistryObject

A SpecificationLink provides the linkage between a ServiceBinding and one of its technical specifications that describes how to use the service using the ServiceBinding. For example, a ServiceBinding may have a SpecificationLink instance that describes how to access the service using a technical specification in the form of a WSDL document or a CORBA IDL document. It serves the same purpose as the union of the tModelInstanceInfo and instanceDetails structures in UDDI.

作者:
Farrukh S. Najmi
另请参见:
Concept

方法摘要
 ServiceBinding getServiceBinding()
          Gets the parent ServiceBinding for this SpecificationLink.
 RegistryObject getSpecificationObject()
          Gets the specification object for this object.
 InternationalString getUsageDescription()
          Gets the description of usage parameters.
 Collection getUsageParameters()
          Gets any usage parameters.
 void setSpecificationObject(RegistryObject obj)
          Sets the specification object for this object.
 void setUsageDescription(InternationalString usageDescription)
          Sets the description of usage parameters.
 void setUsageParameters(Collection usageParameters)
          Sets any usage parameters.
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistry软件包, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

方法详细信息

getSpecificationObject

RegistryObject getSpecificationObject()
                                      throws JAXRException
Gets the specification object for this object.

Capability Level: 0

返回:
the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

setSpecificationObject

void setSpecificationObject(RegistryObject obj)
                            throws JAXRException
Sets the specification object for this object.

Capability Level: 0

参数:
obj - the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

getUsageDescription

InternationalString getUsageDescription()
                                        throws JAXRException
Gets the description of usage parameters. Default is an empty String.

Capability Level: 0

返回:
the usage description for this object, which must not be null
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

setUsageDescription

void setUsageDescription(InternationalString usageDescription)
                         throws JAXRException
Sets the description of usage parameters.

Capability Level: 0

参数:
usageDescription - the description of usage parameters for this object
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

getUsageParameters

Collection getUsageParameters()
                              throws JAXRException
Gets any usage parameters. A usage parameter is an arbitrary String that describes how to use the technical specification accessed via this SpecificationLink. Each parameter is a String.

Capability Level: 0

返回:
the Collection of String instances. The Collection may be empty but not null.
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

setUsageParameters

void setUsageParameters(Collection usageParameters)
                        throws JAXRException
Sets any usage parameters. Each parameter is a String

Capability Level: 0

参数:
usageParameters - the Collection of usage parameter Strings
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

getServiceBinding

ServiceBinding getServiceBinding()
                                 throws JAXRException
Gets the parent ServiceBinding for this SpecificationLink.

Capability Level: 0

返回:
the parent ServiceBinding within which this object is composed
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.