ReferenceStateRef
Keywords: net.corda.core.transactions.ReferenceStateRef class
Date: 2023-09-18

net.corda.core.transactions

## Class ReferenceStateRef

- net.corda.core.transactions.ReferenceStateRef

-     public class ReferenceStateRef

  Wrapper over `class StateRef` to be used when filtering reference states.

  See Also:
    `class StateRef`

- - ### Constructor Detail

    - #### ReferenceStateRef

          public ReferenceStateRef(@NotNull
                                   StateRef stateRef)

      Wrapper over `class StateRef` to be used when filtering reference states.

      See Also:
        `class StateRef`

  - ### Method Detail

    - #### getStateRef

          @NotNull
          public StateRef getStateRef()

    - #### component1

          @NotNull
          public StateRef component1()

    - #### copy

          @NotNull
          public ReferenceStateRef copy(@NotNull
                                                 StateRef stateRef)

      Wrapper over `class StateRef` to be used when filtering reference states.

      See Also:
        `class StateRef`

    - #### toString

          @NotNull
          public java.lang.String toString()

      Wrapper over `class StateRef` to be used when filtering reference states.

      See Also:
        `class StateRef`

    - #### hashCode

          public int hashCode()

      Wrapper over `class StateRef` to be used when filtering reference states.

      See Also:
        `class StateRef`

    - #### equals

          public boolean equals(@Nullable
                                java.lang.Object p)

      Wrapper over `class StateRef` to be used when filtering reference states.

      See Also:
        `class StateRef`