Class PartnerInfo

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Object>, Auditable, IDBean, Cacheable

public class PartnerInfo extends ImageBean implements Auditable
A bean to store virtual airline partner information.
Since:
10.3
Version:
10.6
Author:
Luke
See Also:
  • Constructor Details

    • PartnerInfo

      public PartnerInfo(String name)
      Creates the bean.
      Parameters:
      name - the partner name
  • Method Details

    • getAuditID

      public String getAuditID()
      Description copied from interface: Auditable
      Returns the object ID for this auditable object.
      Specified by:
      getAuditID in interface Auditable
      Returns:
      the ID
    • getImageType

      public ImageType getImageType()
      Description copied from class: ImageBean
      Returns the database image type.
      Specified by:
      getImageType in class ImageBean
      Returns:
      an ImageType
    • getName

      public String getName()
      Returns the partner name.
      Returns:
      the name
    • getURL

      public String getURL()
      Returns the partner URL.
      Returns:
      the URL
    • getDescription

      public String getDescription()
      Returns the partner description text.
      Returns:
      the description
    • getReferCount

      public int getReferCount()
      Returns the partner referral count.
      Returns:
      the count
    • getLastRefer

      public Instant getLastRefer()
      Returns the time of the last partner referral.
      Returns:
      the date/time of the last link out
    • getPriority

      public int getPriority()
      Returns the partner priority.
      Returns:
      the priority
    • setName

      public void setName(String name)
      Updates the partner name.
      Parameters:
      name - the name
    • setURL

      public void setURL(String url)
      Updates the partner URL.
      Parameters:
      url - the URL
    • setDescription

      public void setDescription(String desc)
      Updates the partner description text.
      Parameters:
      desc - the description
    • setReferCount

      public void setReferCount(int cnt)
      Updates the partner referral count.
      Parameters:
      cnt - the referral count
    • setLastRefer

      public void setLastRefer(Instant dt)
      Updates the time of the last partner referral.
      Parameters:
      dt - the date/time of the last link out
    • setPriority

      public void setPriority(int p)
      Updates the partner priority.
      Parameters:
      p - the priority