Class ObjectModel


  • public class ObjectModel
    extends java.lang.Object
    An enumeration of the types of object model supported. Based upon the model type, certain optimisations may be used.
    Since:
    JTS 1.0.
    Version:
    $Id: ObjectModel.java 2342 2006-03-30 13:06:17Z $
    Author:
    Mark Little (mark@arjuna.com)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MULTIPLE
      In the MULTIPLE model, it is assumed that multiple instances of the object may exist in different JVMs concurrently, or within the same JVM if each thread gets its own instance.
      static int SINGLE
      In the SINGLE model, it is assumed that only a single instance of the object will exist within a single JVM, and that it will be shared between threads.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectModel()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void print​(java.io.PrintWriter strm, int os)
      Print out a human-readable form of the model type.
      static java.lang.String stringForm​(int os)  
      • Methods inherited from class java.lang.Object

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

      • SINGLE

        public static final int SINGLE
        In the SINGLE model, it is assumed that only a single instance of the object will exist within a single JVM, and that it will be shared between threads.
        See Also:
        Constant Field Values
      • MULTIPLE

        public static final int MULTIPLE
        In the MULTIPLE model, it is assumed that multiple instances of the object may exist in different JVMs concurrently, or within the same JVM if each thread gets its own instance.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ObjectModel

        public ObjectModel()
    • Method Detail

      • stringForm

        public static java.lang.String stringForm​(int os)
      • print

        public static void print​(java.io.PrintWriter strm,
                                 int os)
        Print out a human-readable form of the model type.