Class PModeLeg

java.lang.Object
com.helger.phase4.model.pmode.leg.PModeLeg
All Implemented Interfaces:
Serializable

@NotThreadSafe @MustImplementEqualsAndHashcode public class PModeLeg extends Object implements Serializable
Contains the information for a single direction (leg) of a PMode
Author:
Philip Helger
See Also:
  • Constructor Details

  • Method Details

    • getProtocol

      public final @Nullable PModeLegProtocol getProtocol()
    • hasProtocol

      public final boolean hasProtocol()
    • setProtocol

      public final @NonNull com.helger.base.state.EChange setProtocol(@Nullable PModeLegProtocol aProtocol)
    • getBusinessInfo

      public final @Nullable PModeLegBusinessInformation getBusinessInfo()
    • hasBusinessInfo

      public final boolean hasBusinessInfo()
    • setBusinessInfo

      public final @NonNull com.helger.base.state.EChange setBusinessInfo(@Nullable PModeLegBusinessInformation aBusinessInfo)
    • getErrorHandling

      public final @Nullable PModeLegErrorHandling getErrorHandling()
    • hasErrorHandling

      public final boolean hasErrorHandling()
    • setErrorHandling

      public final @NonNull com.helger.base.state.EChange setErrorHandling(@Nullable PModeLegErrorHandling aErrorHandling)
    • getReliability

      public final @Nullable PModeLegReliability getReliability()
    • hasReliability

      public final boolean hasReliability()
    • setReliability

      public final @NonNull com.helger.base.state.EChange setReliability(@Nullable PModeLegReliability aReliability)
    • getSecurity

      public final @Nullable PModeLegSecurity getSecurity()
    • hasSecurity

      public final boolean hasSecurity()
    • setSecurity

      public final @NonNull com.helger.base.state.EChange setSecurity(@Nullable PModeLegSecurity aSecurity)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object