public class ServiceInstance extends Object
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 and Description |
---|
ServiceInstance()
Default Constructor.
|
ServiceInstance(Element elem)
Constructor.
|
ServiceInstance(String serviceType,
String providerID,
List descriptions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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 . |
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.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()
Copyright © 2010-2018, ForgeRock All Rights Reserved.