public class ResourceID extends Object
ResourceID
represents a discovery service resource ID.
The following schema fragment specifies the expected content within the
ResourceID
object.
<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 and Description |
---|
ResourceID(Element elem)
Constructor.
|
ResourceID(String resourceID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets id attribute.
|
String |
getResourceID()
Gets resource id.
|
void |
setId(String id)
Sets id attribute.
|
void |
setResourceID(String resourceID)
Sets resource id.
|
String |
toString()
Returns string format of object
ResourceID . |
public ResourceID(String resourceID)
resourceID
- resource ID stringpublic ResourceID(Element elem) throws DiscoveryException
elem
- ResourceID
in DOM ElementDiscoveryException
- if error occurspublic String getId()
ResourceID.setId(String)
public void setId(String id)
id
- id attribute.ResourceID.getId()
public String getResourceID()
ResourceID.setResourceID(String)
public void setResourceID(String resourceID)
resourceID
- resource id to be setResourceID.getResourceID()
Copyright © 2010-2018, ForgeRock All Rights Reserved.