@ExcludedClass @NotStorableClass public class NodeForObject extends AbstractNodeForObject
Modifier and Type | Field and Description |
---|---|
protected static JoafipLogger |
LOGGER |
protected boolean |
rootNode |
fatherNodeSet, identifier, identityHashCode, leafNode, mainFatherNodeNullerTrace, markedNew, markedNewSon, objectClassName, objectSize
Constructor and Description |
---|
NodeForObject()
XML encoder want it
|
NodeForObject(NodeForObject fatherNode,
NodeIdentifier identifier,
int identityHashCode,
String objectClassName,
boolean markedNew,
boolean markedNewSon,
Map<NodeIdentifier,String> fieldByChildNodeIdMap,
Map<NodeIdentifier,Boolean> fieldIsStaticMap,
int objectSize) |
NodeForObject(NodeForObject fatherNode,
WeakObjectIdentityKey weakObject)
set the reference on object which for this persistence information is for
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ITreeNodeForObjectVisitor visitor,
Set<NodeForObject> visitedSet,
int depth) |
void |
addChild(NodeForObject childNode) |
void |
addChild(String declaringClass,
String fieldName,
boolean staticField,
NodeForObject childNode) |
void |
addFather(NodeForObject fatherNode) |
Boolean |
fieldIsStatic(INodeForObject childNode) |
INodeForObject |
getChildAt(int index)
child at index
|
int |
getChildCount() |
Collection<NodeForObject> |
getChildNodeSet() |
String |
getField(INodeForObject childNode) |
Map<NodeIdentifier,String> |
getFieldByChildNodeIdMap() |
Map<NodeIdentifier,Boolean> |
getFieldIsStaticMap() |
int |
getIdentityHashCode() |
int |
getIndexOfChild(INodeForObject childNode)
index of child
|
Object |
getObject()
get the object associated to this persistence informations
|
String |
getObjectClassName() |
void |
removeChild(NodeForObject childNode) |
void |
setIsRootNode() |
void |
setMarkedNew() |
void |
setMarkedNewSon() |
String |
toString() |
compareTo, equals, getFatherNodeSet, getId, getMainFatherNode, getNextId, getObjectSize, hashCode, identificationString, isDeleted, isLeafNode, isMarkedNew, isMarkedNewSon, mainFatherNodeNullCheck, setDeleted, setMainFatherNode
protected static final JoafipLogger LOGGER
protected boolean rootNode
public NodeForObject()
public NodeForObject(NodeForObject fatherNode, WeakObjectIdentityKey weakObject) throws MemInspectorException
weakObject
- reference on object which for this persistence information is
forMemInspectorException
public NodeForObject(NodeForObject fatherNode, NodeIdentifier identifier, int identityHashCode, String objectClassName, boolean markedNew, boolean markedNewSon, Map<NodeIdentifier,String> fieldByChildNodeIdMap, Map<NodeIdentifier,Boolean> fieldIsStaticMap, int objectSize)
public void setIsRootNode()
public int getIdentityHashCode()
public void addFather(NodeForObject fatherNode) throws MemInspectorException
MemInspectorException
public Collection<NodeForObject> getChildNodeSet()
public String getObjectClassName()
public Map<NodeIdentifier,String> getFieldByChildNodeIdMap()
public Map<NodeIdentifier,Boolean> getFieldIsStaticMap()
public String getField(INodeForObject childNode)
public Boolean fieldIsStatic(INodeForObject childNode)
public void addChild(String declaringClass, String fieldName, boolean staticField, NodeForObject childNode) throws MemInspectorException
declaringClass
- fieldName
- staticField
- childNode
- MemInspectorException
public void addChild(NodeForObject childNode) throws MemInspectorException
MemInspectorException
public void removeChild(NodeForObject childNode)
public void setMarkedNew()
public void setMarkedNewSon()
public void accept(ITreeNodeForObjectVisitor visitor, Set<NodeForObject> visitedSet, int depth) throws MemInspectorException
MemInspectorException
public Object getObject()
public int getChildCount()
public int getIndexOfChild(INodeForObject childNode)
INodeForObject
public INodeForObject getChildAt(int index)
INodeForObject
public String toString()
toString
in interface INodeForObject
toString
in class AbstractNodeForObject
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.