Class CosObjectID


  • public final class CosObjectID
    extends java.lang.Object
    An indirect object number and generation ID object.
    • Constructor Summary

      Constructors 
      Constructor Description
      CosObjectID​(int objNum, int objGen)
      Constructor to generate an ID for a cosobject with passed object number and generation number.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getObjGen()
      Returns object generation number.
      int getObjNum()
      Returns object number.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CosObjectID

        public CosObjectID​(int objNum,
                           int objGen)
        Constructor to generate an ID for a cosobject with passed object number and generation number.
    • Method Detail

      • getObjNum

        public int getObjNum()
        Returns object number.
      • getObjGen

        public int getObjGen()
        Returns object generation number.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object