Class ResourceID
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.ResourceID
-
public class ResourceID extends Object
The classResourceIDrepresents a discovery service resource ID. The following schema fragment specifies the expected content within theResourceIDobject.<xs:element name="ResourceID" type="ResourceIDType"/> <complexType name="ResourceIDType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description ResourceID(String resourceID)Constructor.ResourceID(Element elem)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets id attribute.StringgetResourceID()Gets resource id.voidsetId(String id)Sets id attribute.voidsetResourceID(String resourceID)Sets resource id.StringtoString()Returns string format of objectResourceID.
-
-
-
Constructor Detail
-
ResourceID
public ResourceID(String resourceID)
Constructor.- Parameters:
resourceID- resource ID string
-
ResourceID
public ResourceID(Element elem) throws DiscoveryException
Constructor.- Parameters:
elem-ResourceIDin DOM Element- Throws:
DiscoveryException- if error occurs
-
-
Method Detail
-
getId
public String getId()
Gets id attribute.- Returns:
- id attribute.
- See Also:
setId(String)
-
setId
public void setId(String id)
Sets id attribute.- Parameters:
id- id attribute.- See Also:
getId()
-
getResourceID
public String getResourceID()
Gets resource id.- Returns:
- resource id.
- See Also:
setResourceID(String)
-
setResourceID
public void setResourceID(String resourceID)
Sets resource id.- Parameters:
resourceID- resource id to be set- See Also:
getResourceID()
-
-