Package jadex.bridge

Class LocalResourceIdentifier

    • Field Detail

      • uri

        protected java.net.URI uri
        The URI.
      • hostid

        protected java.lang.String hostid
        The host id.
    • Constructor Detail

      • LocalResourceIdentifier

        public LocalResourceIdentifier()
        Create a resource identifier.
      • LocalResourceIdentifier

        public LocalResourceIdentifier​(IComponentIdentifier cid,
                                       java.net.URL url)
        Create a resource identifier.
        Parameters:
        cid - The platform identifier.
        url - The local URL.
      • LocalResourceIdentifier

        public LocalResourceIdentifier​(IComponentIdentifier cid,
                                       java.net.URI uri)
        Create a resource identifier.
        Parameters:
        cid - The platform identifier.
        url - The local URL.
      • LocalResourceIdentifier

        public LocalResourceIdentifier​(IComponentIdentifier cid,
                                       java.net.URI uri,
                                       java.lang.String hostid)
        Create a resource identifier.
        Parameters:
        cid - The platform identifier.
        url - The local URL.
    • Method Detail

      • setComponentIdentifier

        public void setComponentIdentifier​(IComponentIdentifier cid)
        Set the platform identifier belonging to the resource identifier.
        Parameters:
        cid - The component identifier of the platform.
      • setUri

        public void setUri​(java.net.URI uri)
        Set the url.
        Parameters:
        url - The resource url.
      • setHostIdentifier

        public void setHostIdentifier​(java.lang.String hostid)
        Set the host identifier.
        Parameters:
        hostid - The host identifier.
      • hashCode

        public int hashCode()
        Get the hashcode.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if equals.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Get a string representation of this object.
        Overrides:
        toString in class java.lang.Object