Class OortObject.Info<T>

  • Type Parameters:
    T - the type of the object
    All Implemented Interfaces:, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>
    Enclosing class:

    public static class OortObject.Info<T>
    extends java.util.HashMap<java.lang.String,​java.lang.Object>
    The oort object part holding the object and the metadata associated with it.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Modifier Constructor Description
      protected Info​(java.lang.String oortURL, java.util.Map<? extends java.lang.String,​?> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      T getObject()  
      java.lang.String getOortURL()  
      protected long getVersion()  
      boolean isLocal()  
      java.lang.String toString()  
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Constructor Detail

      • Info

        protected Info​(java.lang.String oortURL,
                       java.util.Map<? extends java.lang.String,​?> map)
    • Method Detail

      • getVersion

        protected long getVersion()
      • getOortURL

        public java.lang.String getOortURL()
        the oort URL of this part
      • getName

        public java.lang.String getName()
        the name of the oort object
      • getObject

        public T getObject()
        the object value
      • isLocal

        public boolean isLocal()
        whether this Info is local to this node
      • toString

        public java.lang.String toString()
        toString in class java.util.AbstractMap<java.lang.String,​java.lang.Object>