Interface References


  • public interface References
    This interface provides all the methods to implements crud references.
    Author:
    javaito
    • Method Summary

      Modifier and Type Method Description
      <O> O getReference​(java.lang.String referenceName)
      Returns the instance of the reference indexed by specific name.
      <O> java.util.Collection<O> getReferenceCollection​(java.lang.String referenceName)
      Returns a collection of reference instances indexed by the specific name.
    • Method Detail

      • getReference

        <O> O getReference​(java.lang.String referenceName)
        Returns the instance of the reference indexed by specific name.
        Type Parameters:
        O - Expected reference class.
        Parameters:
        referenceName - Reference name.
        Returns:
        Reference instance.
      • getReferenceCollection

        <O> java.util.Collection<O> getReferenceCollection​(java.lang.String referenceName)
        Returns a collection of reference instances indexed by the specific name.
        Type Parameters:
        O - Expected reference class.
        Parameters:
        referenceName - Reference name.
        Returns:
        Reference instances.