Class OortObject.Info<T>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<java.lang.String,​java.lang.Object>
org.cometd.oort.OortObject.Info<T>
Type Parameters:
T - the type of the object
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>
Enclosing class:
OortObject<T>

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>
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String ACTION_FIELD  
    static java.lang.String NAME_FIELD  
    static java.lang.String OBJECT_FIELD  
    static java.lang.String OORT_URL_FIELD  
    static java.lang.String PEER_FIELD  
    static java.lang.String TYPE_FIELD  
    static java.lang.String VERSION_FIELD  
  • Constructor Summary

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

    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
  • Field Details

  • Constructor Details

    • Info

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

    • getVersion

      protected long getVersion()
    • getOortURL

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

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

      public T getObject()
      Returns:
      the object value
    • isLocal

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

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