com.sun.identity.liberty.ws.disco
クラス ServiceInstance

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.disco.ServiceInstance

public class ServiceInstance
extends Object

The class ServiceInstance describes a web service at a distinct protocol endpoint.

The following schema fragment specifies the expected content within the ServiceInstance object.

 <xs:element name="ServiceInstance" type="ServiceInstanceType"/>
 <complexType name="ServiceInstanceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:liberty:disco:2003-08}ServiceType"/>
         <element name="ProviderID" type="{urn:liberty:metadata:2003-08}entityIDType"/>
         <element name="Description" type="{urn:liberty:disco:2003-08}DescriptionType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


コンストラクタの概要
ServiceInstance()
          Default Constructor.
ServiceInstance(Element elem)
          Constructor.
ServiceInstance(String serviceType, String providerID, List descriptions)
          Constructor
 
メソッドの概要
 List getDescription()
          Gets the service descriptions.
 String getProviderID()
          Gets provider ID of the service instance.
 String getServiceType()
          Gets service type.
 void setDescription(List desc)
          Sets the service descriptions.
 void setProviderID(String value)
          Sets provider ID.
 void setServiceType(String value)
          Sets service type.
 String toString()
          Returns string format of object ServiceInstance.
 

コンストラクタの詳細

ServiceInstance

public ServiceInstance()
Default Constructor.


ServiceInstance

public ServiceInstance(String serviceType,
                       String providerID,
                       List descriptions)
Constructor

パラメータ:
serviceType - service type
providerID - provider ID
descriptions - List of Description objects

ServiceInstance

public ServiceInstance(Element elem)
                throws DiscoveryException
Constructor.

パラメータ:
elem - ServiceInstance DOM element.
例外:
DiscoveryException - if error occurs.
メソッドの詳細

getProviderID

public String getProviderID()
Gets provider ID of the service instance.

戻り値:
provider ID of the service instance.
関連項目:
ServiceInstance.setProviderID(String)

setProviderID

public void setProviderID(String value)
Sets provider ID.

パラメータ:
value - provider ID.
関連項目:
ServiceInstance.getProviderID()

getDescription

public List getDescription()
Gets the service descriptions.

戻り値:
List of Description objects
関連項目:
ServiceInstance.setDescription(List)

setDescription

public void setDescription(List desc)
Sets the service descriptions.

パラメータ:
desc - List of Description objects.
関連項目:
ServiceInstance.getDescription()

getServiceType

public String getServiceType()
Gets service type.

戻り値:
service type.
関連項目:
ServiceInstance.setServiceType(String)

setServiceType

public void setServiceType(String value)
Sets service type.

パラメータ:
value - service type.
関連項目:
ServiceInstance.getServiceType()

toString

public String toString()
Returns string format of object ServiceInstance.

オーバーライド:
クラス Object 内の toString
戻り値:
formatted string.