Class Contract

All Implemented Interfaces:
Serializable, Comparable<Contract>, Id<Integer>, IdTitle<Integer>, Title
Direct Known Subclasses:
ContractInfo

public class Contract extends SearchableIdTitle implements Comparable<Contract>
See Also:
  • Field Details

  • Constructor Details

    • Contract

      public Contract()
    • Contract

      public Contract(String billingId, int id)
    • Contract

      public Contract(String billingId, int id, String title, String comment)
  • Method Details

    • getBillingId

      public String getBillingId()
    • setBillingId

      public void setBillingId(String billingId)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • compareTo

      public int compareTo(Contract o)
      Specified by:
      compareTo in interface Comparable<Contract>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Id