Class AgencyAndId

    • Constructor Detail

      • AgencyAndId

        public AgencyAndId()
      • AgencyAndId

        public AgencyAndId​(String agencyId,
                           String id)
    • Method Detail

      • getAgencyId

        public String getAgencyId()
      • setAgencyId

        public void setAgencyId​(String agencyId)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • hasValues

        public boolean hasValues()
      • convertFromString

        public static AgencyAndId convertFromString​(String value,
                                                    char separator)
        Given an id of the form "agencyId_entityId", parses into a AgencyAndId id object.
        Parameters:
        value - id of the form "agencyId_entityId"
        Returns:
        an id object
      • hashCode

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

        public static String convertToString​(AgencyAndId aid)
        Given an AgencyAndId object, creates a string representation of the form "agencyId_entityId"
        Parameters:
        aid - an id object
        Returns:
        a string representation of the form "agencyId_entityId"