Class ResourceID


  • public class ResourceID
    extends Object
    The class 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 Detail

      • ResourceID

        public ResourceID​(String resourceID)
        Constructor.
        Parameters:
        resourceID - resource ID string
    • 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()
      • setResourceID

        public void setResourceID​(String resourceID)
        Sets resource id.
        Parameters:
        resourceID - resource id to be set
        See Also:
        getResourceID()
      • toString

        public String toString()
        Returns string format of object ResourceID.
        Overrides:
        toString in class Object
        Returns:
        formatted string.