Class WalkEmployee
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkJDFElement
org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkResource
org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkEmployee
- All Implemented Interfaces:
Comparable<BaseWalker>,IWalker
-
Field Summary
Fields inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
jdfToXJDFFields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretur the list of elements that will always be procesed by this walkerprotected StringgetXJDFName(KElement jdf) the new namebooleanthis is the check whether or not to use this walker for a given element should be overwrittenmoveToContact(KElement jdfEmployee) the mother routine for walking....Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkResource
getClassName, isProductResource, moveAttribsToBase, moveToDetails, retainRoot, updateAttributesMethods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkJDFElement
checkAllLeaves, getLeaves, getRefName, getResID, getSet, matchesRootID, moveToAmountPool, setAmountPool, setBaseResource, setLeafAttributes, setResource, setSetAttributes, updateModuleMethods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
mustInline, removeUnusedElements, safeRename, setAttributes, setParentMethods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, prepareWalk, toString
-
Constructor Details
-
WalkEmployee
public WalkEmployee()
-
-
Method Details
-
getXJDFName
the new name- Overrides:
getXJDFNamein classWalkElement- Parameters:
jdf-- Returns:
-
matches
Description copied from class:BaseWalkerthis is the check whether or not to use this walker for a given element should be overwritten- Overrides:
matchesin classWalkResource- Parameters:
toCheck-- Returns:
- true if it matches
- See Also:
-
walk
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classWalkResource- Parameters:
jdf- the element to walkxjdf- a parallel element to e that may additionally be modified during the walk- Returns:
- the created resource
- See Also:
-
moveToContact
- Parameters:
jdfEmployee-- Returns:
-
getElementNames
Description copied from class:BaseWalkerretur the list of elements that will always be procesed by this walker- Overrides:
getElementNamesin classBaseWalker- Returns:
- See Also:
-