| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.identity.liberty.ws.disco.ServiceInstance
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>
 
| Constructor Summary | |
| ServiceInstance()Default Constructor | |
| ServiceInstance(org.w3c.dom.Element elem)Constructor. | |
| ServiceInstance(java.lang.String serviceType,
                java.lang.String providerID,
                java.util.List descriptions)Constructor | |
| Method Summary | |
|  java.util.List | getDescription()Gets the service descriptions | 
|  java.lang.String | getProviderID()Gets provider ID of the service instance | 
|  java.lang.String | getServiceType()Gets service type. | 
|  void | setDescription(java.util.List desc)Sets the service descriptions. | 
|  void | setProviderID(java.lang.String value)Sets provider ID | 
|  void | setServiceType(java.lang.String value)Sets service type | 
|  java.lang.String | toString()Returns string format. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public ServiceInstance()
public ServiceInstance(java.lang.String serviceType,
                       java.lang.String providerID,
                       java.util.List descriptions)
serviceType - service typeproviderID - provider IDdescriptions - List of Description objects
public ServiceInstance(org.w3c.dom.Element elem)
                throws DiscoveryException
elem - ServiceInstance DOM element.DiscoveryException - if error occurs.| Method Detail | 
public java.lang.String getProviderID()
public void setProviderID(java.lang.String value)
value - provider ID.public java.util.List getDescription()
public void setDescription(java.util.List desc)
desc - List of Description objects.public java.lang.String getServiceType()
public void setServiceType(java.lang.String value)
value - service type.public java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||