类 AssociationEvent

java.lang.Object
org.babyfish.jimmer.sql.event.AssociationEvent

public class AssociationEvent extends Object
  • 构造器详细资料

    • AssociationEvent

      public AssociationEvent(org.babyfish.jimmer.meta.ImmutableProp prop, Object sourceId, Connection con, Object reason)
    • AssociationEvent

      public AssociationEvent(org.babyfish.jimmer.meta.ImmutableProp prop, Object sourceId, Object detachedTargetId, Object attachedTargetId, Connection con, Object reason)
  • 方法详细资料

    • getImmutableProp

      @NotNull public @NotNull org.babyfish.jimmer.meta.ImmutableProp getImmutableProp()
    • getSourceId

      @NotNull public @NotNull Object getSourceId()
    • getDetachedTargetId

      @Nullable public @Nullable Object getDetachedTargetId()
    • getAttachedTargetId

      @Nullable public @Nullable Object getAttachedTargetId()
    • getConnection

      @Nullable public @Nullable Connection getConnection()
      • If the event is fired by binlog trigger, returns null
      • If the event is fired by transaction trigger, returns current trigger
      返回:
      The current connection or null
    • getReason

      @Nullable public @Nullable Object getReason()
    • getType

      @NotNull public @NotNull AssociationEvent.Type getType()
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object