ma.glasnost.orika.impl.generator
Class Node

java.lang.Object
  extended by ma.glasnost.orika.impl.generator.Node

public class Node
extends Object


Nested Class Summary
static class Node.NodeList
           
 
Field Summary
 boolean addedToCollector
           
 Node.NodeList children
           
 VariableRef elementRef
           
 Set<Node> mapped
           
 MultiOccurrenceVariableRef multiOccurrenceVar
           
 MultiOccurrenceVariableRef newDestination
           
 VariableRef nullCheckFlag
           
 Node parent
           
 Property property
           
 VariableRef shouldAddToCollectorFlag
           
 FieldMap value
           
 
Method Summary
static Node addFieldMap(FieldMap map, Node.NodeList nodes, boolean useSource)
           
static Node findFieldMap(FieldMap map, Node.NodeList nodes, boolean useSource)
           
 FieldMap getMap()
           
 boolean isLeaf()
           
 boolean isMapped(Node node)
           
 boolean isRoot()
           
 void mapped(Node node)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

property

public Property property

multiOccurrenceVar

public MultiOccurrenceVariableRef multiOccurrenceVar

newDestination

public MultiOccurrenceVariableRef newDestination

elementRef

public VariableRef elementRef

nullCheckFlag

public VariableRef nullCheckFlag

shouldAddToCollectorFlag

public VariableRef shouldAddToCollectorFlag

value

public FieldMap value

children

public Node.NodeList children

parent

public Node parent

mapped

public Set<Node> mapped

addedToCollector

public boolean addedToCollector
Method Detail

isLeaf

public boolean isLeaf()
Returns:
true if this Node has no children

isRoot

public boolean isRoot()
Returns:
true if this Node has no parent

getMap

public FieldMap getMap()
Parameters:
type -
isSource -
Returns:

isMapped

public boolean isMapped(Node node)

mapped

public void mapped(Node node)

toString

public String toString()
Overrides:
toString in class Object

findFieldMap

public static Node findFieldMap(FieldMap map,
                                Node.NodeList nodes,
                                boolean useSource)

addFieldMap

public static Node addFieldMap(FieldMap map,
                               Node.NodeList nodes,
                               boolean useSource)


Copyright © 2013 Glasnost. All Rights Reserved.