Package org.cometd.oort
Class OortObject.Info<T>
- Type Parameters:
T- the type of the object
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- Enclosing class:
- OortObject<T>
public static class OortObject.Info<T> extends HashMap<String,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
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Field Summary
Fields Modifier and Type Field Description static StringACTION_FIELDstatic StringNAME_FIELDstatic StringOBJECT_FIELDstatic StringOORT_URL_FIELDstatic StringPEER_FIELDstatic StringTYPE_FIELDstatic StringVERSION_FIELD -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetName()TgetObject()StringgetOortURL()protected longgetVersion()booleanisLocal()StringtoString()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
-
Field Details
-
VERSION_FIELD
- See Also:
- Constant Field Values
-
OORT_URL_FIELD
- See Also:
- Constant Field Values
-
NAME_FIELD
- See Also:
- Constant Field Values
-
OBJECT_FIELD
- See Also:
- Constant Field Values
-
TYPE_FIELD
- See Also:
- Constant Field Values
-
ACTION_FIELD
- See Also:
- Constant Field Values
-
PEER_FIELD
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getVersion
protected long getVersion() -
getOortURL
- Returns:
- the oort URL of this part
-
getName
- Returns:
- the name of the oort object
-
getObject
- Returns:
- the object value
-
isLocal
public boolean isLocal()- Returns:
- whether this Info is local to this node
-
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-