Class Reference

    • Constructor Detail

      • Reference

        public Reference​(Resource source,
                         Resource target,
                         java.lang.String type)
    • Method Detail

      • getSource

        public Resource getSource()
        Returns the source resource for which the references have been retrieved through the ReferenceProvider.
        Returns:
        The source resource.
      • getTarget

        public Resource getTarget()
        Returns the target resource of the reference, i.e. one of the results retrieved by the ReferenceProvider.
        Returns:
        The target resource.
      • getType

        public java.lang.String getType()
        Returns the reference type of this reference.
        Returns:
        The reference type.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object