|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.disco.ServiceInstance
public class 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(Element elem)
Constructor. |
|
ServiceInstance(String serviceType,
String providerID,
List descriptions)
Constructor |
Method Summary | |
---|---|
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 . |
Constructor Detail |
---|
public ServiceInstance()
public ServiceInstance(String serviceType, String providerID, List descriptions)
serviceType
- service typeproviderID
- provider IDdescriptions
- List of Description objectspublic ServiceInstance(Element elem) throws DiscoveryException
elem
- ServiceInstance
DOM element.
DiscoveryException
- if error occurs.Method Detail |
---|
public String getProviderID()
ServiceInstance.setProviderID(String)
public void setProviderID(String value)
value
- provider ID.ServiceInstance.getProviderID()
public List getDescription()
ServiceInstance.setDescription(List)
public void setDescription(List desc)
desc
- List of Description objects.ServiceInstance.getDescription()
public String getServiceType()
ServiceInstance.setServiceType(String)
public void setServiceType(String value)
value
- service type.ServiceInstance.getServiceType()
public String toString()
ServiceInstance
.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |