Class FactoryProduct

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean destroyed
      set to true when the object has been destroyed
    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryProduct()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDestroyed()  
      protected abstract void setDestroyed()
      Mark object as destoyed - will cause the C++ representation to be removed
      protected void validate()
      Make sure the object is not been used after it has been based to destroy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • destroyed

        protected boolean destroyed
        set to true when the object has been destroyed
    • Constructor Detail

      • FactoryProduct

        public FactoryProduct()
    • Method Detail

      • isDestroyed

        public boolean isDestroyed()
        Returns:
        true is object has been passed to the factory for destruction
      • setDestroyed

        protected abstract void setDestroyed()
        Mark object as destoyed - will cause the C++ representation to be removed
      • validate

        protected void validate()
                         throws DipException
        Make sure the object is not been used after it has been based to destroy
        Throws:
        DipException