Class ForwardSubstitutionInfo

java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.subs.ForwardSubstitutionInfo
All Implemented Interfaces:
Serializable

public class ForwardSubstitutionInfo extends ValueClass
Forward a substitution from the its current substitute to a new substitute.

A substitution can either be forwarded or transfered.

Forward a substitution: The original substitution is not altered. An additional Substitution object is created by copying the original one and setting the new substitute.

Set transferSubstitution to false to forward a substitution.

Transfer a substitution: A new Substitution object is created by copying it from the original one, only replacing the Substitution.substituteId by the provided new substitute. The original substitution is deleted. Set transferSubstitution to true to transfer a substitution.

Since:
12.00.000.008
See Also:
  • Field Details

    • substitutionGuid

      protected String substitutionGuid
      GUID of substitution to be forwarded or transfered.
    • newSubstituteId

      protected int newSubstituteId

      Id of the new substitute.

      This value is ignored if newSubstituteName is set.

    • newSubstituteName

      protected String newSubstituteName

      User name of the new substitute.

      newSubstituteId is ignored if this member is set.

    • substitutionPeriods

      protected List<SubstitutionPeriod> substitutionPeriods

      New substitution periods is a substitution if forwarded.

      Must be set if a substitution is forwarded (set transferSubstitution to false) and is ignored if a substitution if transfered (set transferSubstitution to true)

    • transferSubstitution

      protected boolean transferSubstitution
      Define if the substitution should be forwarded or transfered.
  • Constructor Details

    • ForwardSubstitutionInfo

      public ForwardSubstitutionInfo()
    • ForwardSubstitutionInfo

      public ForwardSubstitutionInfo(ForwardSubstitutionInfo rhs)
  • Method Details

    • getSubstitutionGuid

      public String getSubstitutionGuid()
    • setSubstitutionGuid

      public void setSubstitutionGuid(String substitutionGuid)
    • getNewSubstituteId

      public int getNewSubstituteId()
    • setNewSubstituteId

      public void setNewSubstituteId(int newSubstituteId)
    • getNewSubstituteName

      public String getNewSubstituteName()
    • setNewSubstituteName

      public void setNewSubstituteName(String newSubstituteName)
    • getSubstitutionPeriods

      public List<SubstitutionPeriod> getSubstitutionPeriods()
    • setSubstitutionPeriods

      public void setSubstitutionPeriods(List<SubstitutionPeriod> substitutionPeriods)
    • isTransferSubstitution

      public boolean isTransferSubstitution()
    • setTransferSubstitution

      public void setTransferSubstitution(boolean transferSubstitution)
    • toString

      public String toString()
      Overrides:
      toString in class Object