Class VersionedObject<T>

  • Type Parameters:
    T - type of the object that's contained
    All Implemented Interfaces:
    Versioned

    public class VersionedObject<T>
    extends java.lang.Object
    implements Versioned
    Simple container to hold a specific object and a correlating version for it.
    Author:
    Johannes Rabauer
    • Constructor Detail

      • VersionedObject

        public VersionedObject​(T actualObject)
    • Method Detail

      • setObject

        public void setObject​(T actualObject)
      • getObject

        public T getObject()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object