Class ShortId

    • Constructor Detail

      • ShortId

        public ShortId​(Class cls,
                       Short key)
      • ShortId

        public ShortId​(Class cls,
                       short key)
      • ShortId

        public ShortId​(Class cls,
                       short key,
                       boolean subs)
    • Method Detail

      • getId

        public short getId()
      • idHash

        protected int idHash()
        Description copied from class: OpenJPAId
        Return the id's hash code.
        Specified by:
        idHash in class OpenJPAId
      • idEquals

        protected boolean idEquals​(OpenJPAId o)
        Description copied from class: OpenJPAId
        Compare the id to the id of the given instance.
        Specified by:
        idEquals in class OpenJPAId