Class Fauxjo


  • public abstract class Fauxjo
    extends Object
    Base class for a fauxjo (database bean).

    Note: This implementation overrides the hashCode and equals methods in order to properly compare Fauxjo's properly (e.g. same primary key) when placed in Collections, etc.

    • Constructor Detail

      • Fauxjo

        public Fauxjo()
    • Method Detail

      • hashCode

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

        protected String buildKeyValueString()
      • getPrimaryKeyValues

        protected List<Object> getPrimaryKeyValues()
                                            throws FauxjoException
        Returns:
        Values of primary keys in a consistent order so that it can be compared to other Fauxjo beans.
        Throws:
        FauxjoException