Class PartyId

java.lang.Object
edu.suffolk.litlab.efspserver.PartyId

public class PartyId extends Object
Some reference in a filing to a party that could either be in the current filing or it could already exist in the EFMs system. The ID is whichever of the "Kind" it is.
Author:
brycew
  • Method Details

    • CurrentFilingNew

      public static PartyId CurrentFilingNew(String id)
      Factory method where the ID refers to a newly added party in this filing.
    • Already

      public static PartyId Already(String id)
      Factory method where the ID refers to an existing party in the EFM's system.
    • isNewInCurrentFiling

      public boolean isNewInCurrentFiling()
    • isAlreadyInCase

      public boolean isAlreadyInCase()
    • getIdString

      public String getIdString()
    • getIdentificationString

      public String getIdentificationString()
      If we got the ID from Tyler, without the `id-` prefix. Otherwise our same thing.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object