Class Reference

    • Constructor Summary

      Constructors 
      Constructor Description
      Reference​(Resource source, Resource target, java.lang.String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Resource getSource()
      Returns the source resource for which the references have been retrieved through the ReferenceProvider.
      Resource getTarget()
      Returns the target resource of the reference, i.e.
      java.lang.String getType()
      Returns the reference type of this reference.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.
      • toString

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