@groovy.transform.CompileStatic class RpmVisualizerRelInfo extends VisualizerRelInfo implements RpmVisualizerConstants
Provides information to visualize a source rpm class, a target rpm class and their relationship.
Modifiers | Name | Description |
---|---|---|
protected RpmVisualizerHelper |
helper |
|
protected java.lang.String |
sourceFieldRpmType |
|
protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Object>> |
sourceTraits |
|
protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Object>> |
targetTraits |
Fields inherited from class | Fields |
---|---|
class VisualizerRelInfo |
appId, availableScopeValues, availableTargetScope, cellInfo, cubeLoaded, loadAgain, nodeDetailsMessages, nodeLabelPrefix, runtimeClient, scopeCubeNames, showCellValues, showCellValuesLink, showingHidingCellValues, sourceCube, sourceFieldName, sourceId, sourceScope, sourceTrail, targetCube, targetId, targetLevel, targetScope, typesToAdd |
Type | Name and description |
---|---|
static com.cedarsoftware.util.SafeSimpleDateFormat |
DATE_TIME_FORMAT |
Constructor and description |
---|
protected RpmVisualizerRelInfo() |
protected RpmVisualizerRelInfo(NCubeRuntimeClient runtimeClient, ApplicationID appId) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.Map<java.lang.String, java.lang.Object> |
createEdge(java.lang.Long edgeId) |
|
protected java.util.Map<java.lang.String, java.lang.Object> |
createNode(VisualizerInfo visInfo, java.lang.String group) |
|
protected java.lang.String |
getCubeDetailsTitle1() |
|
protected java.lang.String |
getCubeDetailsTitle2(java.lang.String label) |
|
protected java.lang.String |
getCubeDisplayName(java.lang.String cubeName) |
|
protected java.lang.String |
getDetails(VisualizerInfo visInfo) |
|
protected java.lang.String |
getGroupName(VisualizerInfo visInfo, java.lang.String cubeName) |
|
protected java.lang.String |
getLabel(java.lang.String cubeName) |
|
protected java.lang.String |
getNextTargetCubeName(java.lang.String targetFieldName) |
|
protected java.util.Set<java.lang.String> |
getRequiredScope() |
|
protected java.lang.String |
getSourceDescription() |
|
protected java.lang.Object |
initSelectedNode(VisualizerInfo visInfo, java.util.Map selectedNode) |
|
protected boolean |
isDerivedScopeKey(VisualizerInfo visInfo, java.lang.String scopeKey) |
|
protected boolean |
loadCube(VisualizerInfo visInfo, java.util.Map output) Loads fields and traits on the class into the targetTraits map. |
|
protected void |
populateScopeDefaults(VisualizerInfo visInfo) |
|
protected void |
populateScopeRelativeToSource(java.lang.String sourceFieldRpmType, java.lang.String targetFieldName, java.util.Map scope) Sets the basic nodeScope required to load a target class based on scoped source class, source field name, target class name, and current nodeScope. |
|
protected void |
setLoadAgain(VisualizerInfo visInfo, java.lang.String scopeKey) |
Methods inherited from class | Name |
---|---|
class VisualizerRelInfo |
addNodeScope, addRequiredScopeKeys, createEdge, createNode, createNodeDetailsScopeMessage, getAllColumnValues, getColumnValues, getCubeDetailsTitle1, getCubeDetailsTitle2, getCubeDisplayName, getDetails, getDetailsMap, getDetailsSet, getDotPrefix, getDotSuffix, getGroupName, getLabel, getRequiredScope, getScopeMessage, getSourceDescription, init, initSelectedNode, isDerivedScopeKey, loadCube, populateScopeDefaults, setLoadAgain |
Loads fields and traits on the class into the targetTraits map. If the current node is the selected node and an invalid, missing or unbound scope key is encountered, checks if the inputScope contains the key. If yes, loads again using the key provided in inputScope.
Sets the basic nodeScope required to load a target class based on scoped source class, source field name, target class name, and current nodeScope. Retains all other nodeScope.
targetCube
- String target cubesourceFieldRpmType
- String source field typesourceFieldName
- String source field namescope
- MapGroovy Documentation