com.tensegrity.graph.rule
Class RuleConfiguration

java.lang.Object
  extended bycom.tensegrity.graph.rule.RuleConfiguration

public class RuleConfiguration
extends java.lang.Object

TODO: comment

Version:
$Id$
Author:
MKegel

Constructor Summary
RuleConfiguration()
          Default contructor for the RuleConfiguration class.
RuleConfiguration(RuleConfiguration other)
          Copy contructor for the RuleConfiguration class.
 
Method Summary
 boolean areRuleChecksEnabled()
          Returns a boolean that indicates whether the rule are enabled or not.
 RuleConfiguration deepCopy()
          Returns a deep independent copy of this instance.
 void enableEdgeRuleCheckForDetachSource(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'detach source' property of an EdgeRule.
 void enableEdgeRuleCheckForDetachTarget(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'detach target' property of an EdgeRule.
 void enableEdgeRuleCheckForEdgeInsertMode(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'edge insert mode' property of an EdgeRule.
 void enableEdgeRuleCheckForSnapToPortDistance(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'snap to port distance' property of an EdgeRule.
 void enableGraphRuleCheckForAcceptLooseNodes(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'accept loose nodes' property of a GraphRule.
 void enableGraphRuleCheckForAutoSpace(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'auto space' property of a GraphRule.
 void enableGraphRuleCheckForDropHandlerName(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'drop handler name' property of a GraphRule.
 void enableGraphRuleCheckForEdgeInsertSinglePosition(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'edge insert single position' property of a GraphRule.
 void enableGraphRuleCheckForEdgeSplitTolerance(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'edge split tolerance' property of a GraphRule.
 void enableGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplit(boolean enabled)
          Depending on the given booolean this method enables or disabled the check against the 'legal cross visualsubgraph edge split' property of a GraphRule.
 void enableNodeRuleCheckForAcceptLooseNodesIfGroup(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'accept loose node if subgraph' property of a NodeRule.
 void enableNodeRuleCheckForAcceptOverlayEdgeCreation(boolean enabled)
          Depending on the given boolean this method enables or disables the 'accept overlay edge creation' property of a NodeRule.
 void enableNodeRuleCheckForAcceptPasteIfGroup(boolean enabled)
          Depending on the given boolean this mehtod enables or disabled the check against the 'accept paste if subgraph' property of a NodeRule.
 void enableNodeRuleCheckForApplyCascadeNodeDeleteHierarchical(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'apply cascade node delete hierarchical' property of a NodeRule.
 void enableNodeRuleCheckForApplyDegreesHierarchical(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'apply degrees hierarchical' property of a NodeRule.
 void enableNodeRuleCheckForApplyEdgeSplitHierarchical(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'apply edge split hierarchical' property of a NodeRule.
 void enableNodeRuleCheckForCascade11NodeDelete(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'cascade 11node delete' property of a NodeRule.
 void enableNodeRuleCheckForCascadeDeleteEdges(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'cascade delete edges' property of a NodeRule.
 void enableNodeRuleCheckForDetachOnMove(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'detach on move' property of a NodeRule.
 void enableNodeRuleCheckForDisallowEdgeSplitRule(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'disallow edge split rule' property of a NodeRule.
 void enableNodeRuleCheckForDropHandlerName(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'drop handler name' property of a NodeRule.
 void enableNodeRuleCheckForIndegreeMaximum(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'indegree maximum' property of a NodeRule.
 void enableNodeRuleCheckForIndegreeMinimum(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'indegree minimum' property of a NodeRule.
 void enableNodeRuleCheckForLegalSubgraph(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'legal subgraph' property of a NodeRule.
 void enableNodeRuleCheckForMaximumInstanceCount(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'instance maximum' property of a NodeRule.
 void enableNodeRuleCheckForMinimumInstanceCount(boolean enabled)
          Depeding on the given boolean this method enables or disables the check against the 'instance minimum' property of a NodeRule.
 void enableNodeRuleCheckForNodeMovedInSubgraphHandlerName(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'node moved in subgraph handler name' property of a NodeRule.
 void enableNodeRuleCheckForOutdegreeMaximum(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'outdegree maximum' property of a NodeRule.
 void enableNodeRuleCheckForOutdegreeMinimum(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'outdegree minimum' property of a NodeRule.
 void enableNodeRuleCheckForOverlayEdgeCreation(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'overlay edge creation' property of a NodeRule.
 void enableNodeRuleCheckForProhibitEdgeSplit(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'prohibit edge split' property of a NodeRule.
 void enableNodeRuleCheckForSubgraphRemoveHandlerName(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'subgraph remove handler name' property of a NodeRule.
 void enableNodeRuleCheckForVisualNodeOverlayHandlerName(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the 'visualnode overlay handler name' property of a NodeRule.
 void enableRuleCheckForCopyable(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the copyability state of a VisualGraphObject.
 void enableRuleCheckForCutable(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the cutability state of a VisualGraphObject.
 void enableRuleCheckForDeletable(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the deletability state of a VisualGraphObject.
 void enableRuleCheckForMovable(boolean enabled)
          Depending in the given boolean this method enables or disables the check against the movability state of a VisualGraphObject.
 void enableRuleCheckForSelectable(boolean enabled)
          Depending on the given boolean this method enables or disables the check against the selectability state of a VisualGraphObject.
 void enableRuleChecks(boolean enable)
          Depending on the given boolean this method enables or disables all rule checks.
 void enableRuleChecksFromStack()
          Restores the old state for the check of all rules from the internal stack.
 void enableRuleChecksWithStack(boolean enable)
          Depending on the given boolean this method enables or disables all rule checks.
 boolean getRuleCheckForDeletableFlag()
           
 boolean isEdgeRuleCheckForDetachSourceEnabled()
          Returns a boolean that indicates whether the rule check against the 'detach source' property of an EdgeRule is enabled or not.
 boolean isEdgeRuleCheckForDetachTargetEnabled()
          Returns a boolean that indicates whether the rule check against the 'detach target' property if an EdgeRule is enabled or not.
 boolean isEdgeRuleCheckForEdgeInsertModeEnabled()
          Return a boolean that indicates whether the rule check against the 'edge insert mode' property of an EdgeRule is enabled or not.
 boolean isEdgeRuleCheckForSnapToPortDistanceEnabled()
          Return a boolean that indicates whether the rule check against the 'snap to port distance' property of an EdgeRule is enabled or not.
 boolean isGraphRuleCheckForAcceptLooseNodesEnabled()
          Returns a boolean that indicates whether the rule check against the 'accept loose nodes' property of a GraphRule is enabled or not.
 boolean isGraphRuleCheckForAutoSpaceEnabled()
          Returns a boolean that indicates whether the rule check against the 'auto space' property of a GraphRule is enabled or not.
 boolean isGraphRuleCheckForDropHandlerNameEnabled()
          Returns a boolean that indicates whether the rule check against the 'drop handler name' property of a GraphRule is enabled or not.
 boolean isGraphRuleCheckForEdgeInsertSinglePositionEnabled()
          Returns a boolean that indicates whether the rule check against the 'edge insert single position' property of a GraphRule is enabled or not.
 boolean isGraphRuleCheckForEdgeSplitToleranceEnabled()
          Returns a boolean that indicates whether the rule check against the 'edge split tolerance' property of a GraphRule is enabled or not.
 boolean isGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplitEnabled()
          Returns a boolean that indicates whether the rule check against the 'legal cross visualsubgraph edge split' property of a GraphRule is enabled or not.
 boolean isNodeRuleCheckForAcceptLooseNodesIfGroupEnabled()
          Returns a boolean that indicates whether the rule check against the 'accept loose nodes if subgraph' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForAcceptOverlayEdgeCreationEnabled()
          Returns a boolean that indicates whether the rule check against the 'accept overlay edge creation' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForAcceptPasteIfGroupEnabled()
          Returns a boolean that indicates whether the rule check against the 'accept paste if subgraph' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForApplyCascadeNodeDeleteHierarchicalEnabled()
          Returns a boolean that indicates whether the rule check against the 'apply cascade node delete hierarchical' property of a NodeRule enabled or not.
 boolean isNodeRuleCheckForApplyDegreesHierarchicalEnabled()
          Return a boolean that indicates whether the rule check against the 'apply degrees hierarchical' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForApplyEdgeSplitHierarchicalEnabled()
          Returns a boolean that indicates whether the rule check against the 'apply edge split hierarchical' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForCascade11NodeDeleteEnabled()
          Returns a boolean that indicates whether the rule check against the 'cascade 11node delete' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForCascadeDeleteEdgesEnabled()
          Returns a boolean that indicates whether the rule check against the 'cascade delete edges' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForDetachOnMoveEnabled()
          Returns a boolean that indicates whether the rule check against the 'detach on move' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForDisallowEdgeSplitRuleEnabled()
          Returns a boolean that indicates whether the rule check against the 'disallow edge split rule' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForDropHandlerNameEnabled()
          Returns a boolean that indicates whether the rule check against the 'drop handler name' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForIndegreeMaximumEnabled()
          Returns a boolean that indicates whether the rule check against the 'indegree maximum' property of a NodeRule is enables or not.
 boolean isNodeRuleCheckForIndegreeMinimumEnabled()
          Returns a boolean that indicates whether the rule check against the 'indegree minimum' property of a NodeRule is enables or not.
 boolean isNodeRuleCheckForLegalSubgraphEnabled()
          Returns a boolean that indicates whether the rule check against the 'legal subgraph' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForMaximumInstanceCountEnabled()
          Return a boolean that indicates whether the rule check against the 'instance maximum' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForMinimumInstanceCountEnabled()
          Returns a boolean that indicate whether the rule check against the 'instance minimum' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForNodeMovedInSubgraphHandlerNameEnabled()
          Returns a boolean that indicates whether the rule check against the 'node moved in subgraph handler name' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForOutdegreeMaximumEnabled()
          Returns a boolean that indicates whether the rule check against the 'outdegree maximum' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForOutdegreeMinimumEnabled()
          Returns a boolean that indicates whether the rule check against the 'outdegree minimum' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForOverlayEdgeCreationEnabled()
          Returns a boolean that indicates whether the rule check against the 'overlay edge creation' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForProhibitEdgeSplitEnabled()
          Returns a boolean that indicates whether the rule check against the 'prohibit edge split' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForSubgraphRemoveHandlerNameEnabled()
          Returns a boolean that indicates whether the rule check against the 'subgraph remove handler name' property of a NodeRule is enabled or not.
 boolean isNodeRuleCheckForVisualNodeOverlayHandlerNameEnabled()
          Returns a boolean that indicates whether the rule check against the 'visualnode overlay handler name' of a NodeRule is enabled or not.
 boolean isRuleCheckForCopyableEnabled()
          Returns a boolean that indicates whether the rule check against the copyability state of a VisualGraphObject is enabled or not.
 boolean isRuleCheckForCutableEnabled()
          Returns a boolean that indicates whether the rule check against the cutability state of a VisualGraphObject is enabled or not.
 boolean isRuleCheckForDeletableEnabled()
          Returns a boolean that indicates whether the rule check against the deletability state of a VisualGraphObject is enabled or not.
 boolean isRuleCheckForMovableEnabled()
          Returns a boolean that indicates whether the rule check against the movability state of a VisualGraphObject is enabled or not.
 boolean isRuleCheckForSelectableEnabled()
          Returns a boolean that indicates whether the rule check against the selectability state of a VisualGraphObject is enabled or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleConfiguration

public RuleConfiguration()
Default contructor for the RuleConfiguration class.


RuleConfiguration

public RuleConfiguration(RuleConfiguration other)
Copy contructor for the RuleConfiguration class.

Method Detail

areRuleChecksEnabled

public final boolean areRuleChecksEnabled()
Returns a boolean that indicates whether the rule are enabled or not.

Returns:
boolean flag indicating whether the rule checks are enabled

enableRuleChecks

public final void enableRuleChecks(boolean enable)
Depending on the given boolean this method enables or disables all rule checks.

Parameters:
enable - flag indicating whether to perform all rule checks

enableRuleChecksWithStack

public final void enableRuleChecksWithStack(boolean enable)
Depending on the given boolean this method enables or disables all rule checks. Additionally the old state is put onto a stack so that it can be easily restored afterwards.
Notice:When setting the state through this method one must call the method enableRuleChecksFromStack() afterwards. Otherwise the internal stack gets demaged.

Parameters:
enable - flag indicating whether to perform all rule checks
See Also:
enableRuleChecksFromStack()

enableRuleChecksFromStack

public final void enableRuleChecksFromStack()
Restores the old state for the check of all rules from the internal stack. In order to do so the method enableRuleChecksWithStack(boolean) must have been called beforehand.

See Also:
enableRuleChecksWithStack(boolean)

isRuleCheckForSelectableEnabled

public final boolean isRuleCheckForSelectableEnabled()
Returns a boolean that indicates whether the rule check against the selectability state of a VisualGraphObject is enabled or not.

Returns:
boolean flag indicating whether the selectable check will be performed
See Also:
GraphObjectRule

enableRuleCheckForSelectable

public final void enableRuleCheckForSelectable(boolean enabled)
Depending on the given boolean this method enables or disables the check against the selectability state of a VisualGraphObject.

Parameters:
enabled - flag indicating whether to perform the selectability check
See Also:
GraphObjectRule

isRuleCheckForDeletableEnabled

public final boolean isRuleCheckForDeletableEnabled()
Returns a boolean that indicates whether the rule check against the deletability state of a VisualGraphObject is enabled or not.
The returned boolean is combined with the overall rule check set through enableRuleChecks(boolean) or enableRuleChecksWithStack(boolean).

Returns:
boolean flag indicating whether the deletability check will be performed
See Also:
GraphObjectRule

getRuleCheckForDeletableFlag

public final boolean getRuleCheckForDeletableFlag()

enableRuleCheckForDeletable

public final void enableRuleCheckForDeletable(boolean enabled)
Depending on the given boolean this method enables or disables the check against the deletability state of a VisualGraphObject.

Parameters:
enabled - flag indicating whether to perform the deletability check
See Also:
GraphObjectRule

isRuleCheckForMovableEnabled

public final boolean isRuleCheckForMovableEnabled()
Returns a boolean that indicates whether the rule check against the movability state of a VisualGraphObject is enabled or not.

Returns:
boolean flag indicating whether the movability check will be performed
See Also:
GraphObjectRule

enableRuleCheckForMovable

public final void enableRuleCheckForMovable(boolean enabled)
Depending in the given boolean this method enables or disables the check against the movability state of a VisualGraphObject.

Parameters:
enabled - flag indicating whether to perform the movability check
See Also:
GraphObjectRule

isRuleCheckForCopyableEnabled

public final boolean isRuleCheckForCopyableEnabled()
Returns a boolean that indicates whether the rule check against the copyability state of a VisualGraphObject is enabled or not.

Returns:
boolean flag indicating whether the copyability check will be performed
See Also:
GraphObjectRule

enableRuleCheckForCopyable

public final void enableRuleCheckForCopyable(boolean enabled)
Depending on the given boolean this method enables or disables the check against the copyability state of a VisualGraphObject.

Parameters:
enabled - flag indicating whether to perform the copyability check
See Also:
GraphObjectRule

isRuleCheckForCutableEnabled

public final boolean isRuleCheckForCutableEnabled()
Returns a boolean that indicates whether the rule check against the cutability state of a VisualGraphObject is enabled or not.

Returns:
boolean flag indicating whether the cutability check will be performed
See Also:
GraphObjectRule

enableRuleCheckForCutable

public final void enableRuleCheckForCutable(boolean enabled)
Depending on the given boolean this method enables or disables the check against the cutability state of a VisualGraphObject.

Parameters:
enabled - flag indicating whether to perform the cutability check
See Also:
GraphObjectRule

isEdgeRuleCheckForDetachSourceEnabled

public final boolean isEdgeRuleCheckForDetachSourceEnabled()
Returns a boolean that indicates whether the rule check against the 'detach source' property of an EdgeRule is enabled or not.

Returns:
boolean flag indicating whether the 'detach source' check will be performed
See Also:
EdgeRule

enableEdgeRuleCheckForDetachSource

public final void enableEdgeRuleCheckForDetachSource(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'detach source' property of an EdgeRule.

Parameters:
enabled - flag indicating whether to perform the 'detach source' check
See Also:
EdgeRule

isEdgeRuleCheckForDetachTargetEnabled

public final boolean isEdgeRuleCheckForDetachTargetEnabled()
Returns a boolean that indicates whether the rule check against the 'detach target' property if an EdgeRule is enabled or not.

Returns:
boolean flag indicating whether the 'detach target' check will be performed
See Also:
EdgeRule

enableEdgeRuleCheckForDetachTarget

public final void enableEdgeRuleCheckForDetachTarget(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'detach target' property of an EdgeRule.

Parameters:
enabled - flag indicating whether to perform the 'detach target' check
See Also:
EdgeRule

isEdgeRuleCheckForEdgeInsertModeEnabled

public final boolean isEdgeRuleCheckForEdgeInsertModeEnabled()
Return a boolean that indicates whether the rule check against the 'edge insert mode' property of an EdgeRule is enabled or not.

Returns:
boolean flag indicating whether the 'edge insert mode' check will be performed
See Also:
EdgeRule

enableEdgeRuleCheckForEdgeInsertMode

public final void enableEdgeRuleCheckForEdgeInsertMode(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'edge insert mode' property of an EdgeRule.

Parameters:
enabled - flag indicating whether to perform the 'edge insert mode' check
See Also:
EdgeRule

isEdgeRuleCheckForSnapToPortDistanceEnabled

public final boolean isEdgeRuleCheckForSnapToPortDistanceEnabled()
Return a boolean that indicates whether the rule check against the 'snap to port distance' property of an EdgeRule is enabled or not.

Returns:
boolean flag indicating whether the 'snap to port distance' check will be performed
See Also:
EdgeRule

enableEdgeRuleCheckForSnapToPortDistance

public final void enableEdgeRuleCheckForSnapToPortDistance(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'snap to port distance' property of an EdgeRule.

Parameters:
enabled - flag indicating whether to perform the 'snap to port distance' check
See Also:
EdgeRule

isNodeRuleCheckForApplyDegreesHierarchicalEnabled

public final boolean isNodeRuleCheckForApplyDegreesHierarchicalEnabled()
Return a boolean that indicates whether the rule check against the 'apply degrees hierarchical' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'apply degrees hierarchical' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForApplyDegreesHierarchical

public final void enableNodeRuleCheckForApplyDegreesHierarchical(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'apply degrees hierarchical' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'apply degrees hierarchical' check
See Also:
NodeRule

isNodeRuleCheckForIndegreeMinimumEnabled

public final boolean isNodeRuleCheckForIndegreeMinimumEnabled()
Returns a boolean that indicates whether the rule check against the 'indegree minimum' property of a NodeRule is enables or not.

Returns:
boolean flag indicating whether the 'indegree minimum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForIndegreeMinimum

public final void enableNodeRuleCheckForIndegreeMinimum(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'indegree minimum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'indegree minimum' check
See Also:
NodeRule

isNodeRuleCheckForIndegreeMaximumEnabled

public final boolean isNodeRuleCheckForIndegreeMaximumEnabled()
Returns a boolean that indicates whether the rule check against the 'indegree maximum' property of a NodeRule is enables or not.

Returns:
boolean flag indicating whether the 'indegree maximum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForIndegreeMaximum

public final void enableNodeRuleCheckForIndegreeMaximum(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'indegree maximum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'indegree maximum' check
See Also:
NodeRule

isNodeRuleCheckForOutdegreeMinimumEnabled

public final boolean isNodeRuleCheckForOutdegreeMinimumEnabled()
Returns a boolean that indicates whether the rule check against the 'outdegree minimum' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'outdegree minimum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForOutdegreeMinimum

public final void enableNodeRuleCheckForOutdegreeMinimum(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'outdegree minimum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'outdegree minimum' check
See Also:
NodeRule

isNodeRuleCheckForOutdegreeMaximumEnabled

public final boolean isNodeRuleCheckForOutdegreeMaximumEnabled()
Returns a boolean that indicates whether the rule check against the 'outdegree maximum' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'outdegree maximum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForOutdegreeMaximum

public final void enableNodeRuleCheckForOutdegreeMaximum(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'outdegree maximum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'outdegree maximum' check
See Also:
NodeRule

isNodeRuleCheckForMinimumInstanceCountEnabled

public final boolean isNodeRuleCheckForMinimumInstanceCountEnabled()
Returns a boolean that indicate whether the rule check against the 'instance minimum' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'instance minimum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForMinimumInstanceCount

public final void enableNodeRuleCheckForMinimumInstanceCount(boolean enabled)
Depeding on the given boolean this method enables or disables the check against the 'instance minimum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'instance minimum' check
See Also:
NodeRule

isNodeRuleCheckForMaximumInstanceCountEnabled

public final boolean isNodeRuleCheckForMaximumInstanceCountEnabled()
Return a boolean that indicates whether the rule check against the 'instance maximum' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'instance maximum' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForMaximumInstanceCount

public final void enableNodeRuleCheckForMaximumInstanceCount(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'instance maximum' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'instance maximum' check
See Also:
NodeRule

isNodeRuleCheckForLegalSubgraphEnabled

public final boolean isNodeRuleCheckForLegalSubgraphEnabled()
Returns a boolean that indicates whether the rule check against the 'legal subgraph' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'legal subgraph' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForLegalSubgraph

public final void enableNodeRuleCheckForLegalSubgraph(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'legal subgraph' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'legal subgraph' check
See Also:
NodeRule

isNodeRuleCheckForCascadeDeleteEdgesEnabled

public final boolean isNodeRuleCheckForCascadeDeleteEdgesEnabled()
Returns a boolean that indicates whether the rule check against the 'cascade delete edges' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'cascade delete edges' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForCascadeDeleteEdges

public final void enableNodeRuleCheckForCascadeDeleteEdges(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'cascade delete edges' property of a NodeRule.

Parameters:
enabled - flag that indicates whether to perform the 'cascade delete edges' check
See Also:
NodeRule

isNodeRuleCheckForCascade11NodeDeleteEnabled

public final boolean isNodeRuleCheckForCascade11NodeDeleteEnabled()
Returns a boolean that indicates whether the rule check against the 'cascade 11node delete' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'cascade 11node delete' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForCascade11NodeDelete

public final void enableNodeRuleCheckForCascade11NodeDelete(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'cascade 11node delete' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'cascade 11node delete' check
See Also:
NodeRule

isNodeRuleCheckForApplyCascadeNodeDeleteHierarchicalEnabled

public final boolean isNodeRuleCheckForApplyCascadeNodeDeleteHierarchicalEnabled()
Returns a boolean that indicates whether the rule check against the 'apply cascade node delete hierarchical' property of a NodeRule enabled or not.

Returns:
boolean flag indicating whether the 'apply cascade node delete hierarchical' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForApplyCascadeNodeDeleteHierarchical

public final void enableNodeRuleCheckForApplyCascadeNodeDeleteHierarchical(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'apply cascade node delete hierarchical' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'apply cascade node delete hierarchical' check
See Also:
NodeRule

isNodeRuleCheckForDetachOnMoveEnabled

public final boolean isNodeRuleCheckForDetachOnMoveEnabled()
Returns a boolean that indicates whether the rule check against the 'detach on move' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'detach on move' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForDetachOnMove

public final void enableNodeRuleCheckForDetachOnMove(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'detach on move' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'detach on move' check
See Also:
NodeRule

isNodeRuleCheckForApplyEdgeSplitHierarchicalEnabled

public final boolean isNodeRuleCheckForApplyEdgeSplitHierarchicalEnabled()
Returns a boolean that indicates whether the rule check against the 'apply edge split hierarchical' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'apply edge split hierarchical' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForApplyEdgeSplitHierarchical

public final void enableNodeRuleCheckForApplyEdgeSplitHierarchical(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'apply edge split hierarchical' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'apply edge split hierarchical' check
See Also:
NodeRule

isNodeRuleCheckForProhibitEdgeSplitEnabled

public final boolean isNodeRuleCheckForProhibitEdgeSplitEnabled()
Returns a boolean that indicates whether the rule check against the 'prohibit edge split' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'prohibit edge split' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForProhibitEdgeSplit

public final void enableNodeRuleCheckForProhibitEdgeSplit(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'prohibit edge split' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'prohibit edge split' check or not
See Also:
NodeRule

isNodeRuleCheckForAcceptOverlayEdgeCreationEnabled

public final boolean isNodeRuleCheckForAcceptOverlayEdgeCreationEnabled()
Returns a boolean that indicates whether the rule check against the 'accept overlay edge creation' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'accept overlay edge creation' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForAcceptOverlayEdgeCreation

public final void enableNodeRuleCheckForAcceptOverlayEdgeCreation(boolean enabled)
Depending on the given boolean this method enables or disables the 'accept overlay edge creation' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'accept overlay edge creation' check
See Also:
NodeRule

isNodeRuleCheckForAcceptLooseNodesIfGroupEnabled

public final boolean isNodeRuleCheckForAcceptLooseNodesIfGroupEnabled()
Returns a boolean that indicates whether the rule check against the 'accept loose nodes if subgraph' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'accept loose node if subgraph' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForAcceptLooseNodesIfGroup

public final void enableNodeRuleCheckForAcceptLooseNodesIfGroup(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'accept loose node if subgraph' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'accept loose nodes if subgraph' check
See Also:
NodeRule

isNodeRuleCheckForAcceptPasteIfGroupEnabled

public final boolean isNodeRuleCheckForAcceptPasteIfGroupEnabled()
Returns a boolean that indicates whether the rule check against the 'accept paste if subgraph' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'accept paste if subgraph' check will be performed

enableNodeRuleCheckForAcceptPasteIfGroup

public final void enableNodeRuleCheckForAcceptPasteIfGroup(boolean enabled)
Depending on the given boolean this mehtod enables or disabled the check against the 'accept paste if subgraph' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'accept paste if subgraph' check

isNodeRuleCheckForDropHandlerNameEnabled

public final boolean isNodeRuleCheckForDropHandlerNameEnabled()
Returns a boolean that indicates whether the rule check against the 'drop handler name' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'drop handler name' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForDropHandlerName

public final void enableNodeRuleCheckForDropHandlerName(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'drop handler name' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'drop handler name' check
See Also:
NodeRule

isNodeRuleCheckForNodeMovedInSubgraphHandlerNameEnabled

public final boolean isNodeRuleCheckForNodeMovedInSubgraphHandlerNameEnabled()
Returns a boolean that indicates whether the rule check against the 'node moved in subgraph handler name' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'node moved in subgraph handler name' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForNodeMovedInSubgraphHandlerName

public final void enableNodeRuleCheckForNodeMovedInSubgraphHandlerName(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'node moved in subgraph handler name' property of a NodeRule.

Parameters:
enabled - flag indicating whether to performa the 'node moved in subgraph handler name' check
See Also:
NodeRule

isNodeRuleCheckForSubgraphRemoveHandlerNameEnabled

public final boolean isNodeRuleCheckForSubgraphRemoveHandlerNameEnabled()
Returns a boolean that indicates whether the rule check against the 'subgraph remove handler name' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'subgraph remove handler name' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForSubgraphRemoveHandlerName

public final void enableNodeRuleCheckForSubgraphRemoveHandlerName(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'subgraph remove handler name' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'subgraph remove handler name' check
See Also:
NodeRule

isNodeRuleCheckForVisualNodeOverlayHandlerNameEnabled

public final boolean isNodeRuleCheckForVisualNodeOverlayHandlerNameEnabled()
Returns a boolean that indicates whether the rule check against the 'visualnode overlay handler name' of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'visualnode overlay handler name' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForVisualNodeOverlayHandlerName

public final void enableNodeRuleCheckForVisualNodeOverlayHandlerName(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'visualnode overlay handler name' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'visualnode overlay handler name' check
See Also:
NodeRule

isNodeRuleCheckForDisallowEdgeSplitRuleEnabled

public final boolean isNodeRuleCheckForDisallowEdgeSplitRuleEnabled()
Returns a boolean that indicates whether the rule check against the 'disallow edge split rule' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'disallow edge split rule' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForDisallowEdgeSplitRule

public final void enableNodeRuleCheckForDisallowEdgeSplitRule(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'disallow edge split rule' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'disallow edge split rule' check
See Also:
NodeRule

isNodeRuleCheckForOverlayEdgeCreationEnabled

public final boolean isNodeRuleCheckForOverlayEdgeCreationEnabled()
Returns a boolean that indicates whether the rule check against the 'overlay edge creation' property of a NodeRule is enabled or not.

Returns:
boolean flag indicating whether the 'overlay edge creation' check will be performed
See Also:
NodeRule

enableNodeRuleCheckForOverlayEdgeCreation

public final void enableNodeRuleCheckForOverlayEdgeCreation(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'overlay edge creation' property of a NodeRule.

Parameters:
enabled - flag indicating whether to perform the 'overlay edge creation' check
See Also:
NodeRule

isGraphRuleCheckForAutoSpaceEnabled

public final boolean isGraphRuleCheckForAutoSpaceEnabled()
Returns a boolean that indicates whether the rule check against the 'auto space' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'auto space' check will be performed
See Also:
GraphRule

enableGraphRuleCheckForAutoSpace

public final void enableGraphRuleCheckForAutoSpace(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'auto space' property of a GraphRule.

Parameters:
enabled - flag indicating whether to perform the 'auto space' check
See Also:
GraphRule

isGraphRuleCheckForEdgeInsertSinglePositionEnabled

public final boolean isGraphRuleCheckForEdgeInsertSinglePositionEnabled()
Returns a boolean that indicates whether the rule check against the 'edge insert single position' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'edge insert single position' check will be performed
See Also:
GraphRule

enableGraphRuleCheckForEdgeInsertSinglePosition

public final void enableGraphRuleCheckForEdgeInsertSinglePosition(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'edge insert single position' property of a GraphRule.

Parameters:
enabled - flag indicating whether to perform the 'edge insert single position' check
See Also:
GraphRule

isGraphRuleCheckForEdgeSplitToleranceEnabled

public final boolean isGraphRuleCheckForEdgeSplitToleranceEnabled()
Returns a boolean that indicates whether the rule check against the 'edge split tolerance' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'edge split tolerance' check will be performed
See Also:
GraphRule

enableGraphRuleCheckForEdgeSplitTolerance

public final void enableGraphRuleCheckForEdgeSplitTolerance(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'edge split tolerance' property of a GraphRule.

Parameters:
enabled - flag indicating whether to perform the 'edge split tolerance' check
See Also:
GraphRule

isGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplitEnabled

public final boolean isGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplitEnabled()
Returns a boolean that indicates whether the rule check against the 'legal cross visualsubgraph edge split' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'lagel cross visualsubgraph edge split' check will be performed

enableGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplit

public final void enableGraphRuleCheckForLegalCrossVisualSubgraphEdgeSplit(boolean enabled)
Depending on the given booolean this method enables or disabled the check against the 'legal cross visualsubgraph edge split' property of a GraphRule.

Parameters:
enabled - flag indicating whether to perform the 'legal cross visualsubgraph edge split' check

isGraphRuleCheckForAcceptLooseNodesEnabled

public final boolean isGraphRuleCheckForAcceptLooseNodesEnabled()
Returns a boolean that indicates whether the rule check against the 'accept loose nodes' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'accept loose nodes' check will be performed
See Also:
GraphRule

enableGraphRuleCheckForAcceptLooseNodes

public final void enableGraphRuleCheckForAcceptLooseNodes(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'accept loose nodes' property of a GraphRule.

Parameters:
enabled - flag indicating to perform the 'accept loose nodes' check
See Also:
GraphRule

isGraphRuleCheckForDropHandlerNameEnabled

public final boolean isGraphRuleCheckForDropHandlerNameEnabled()
Returns a boolean that indicates whether the rule check against the 'drop handler name' property of a GraphRule is enabled or not.

Returns:
boolean flag indicating whether the 'drop handler name' check will be performed
See Also:
GraphRule

enableGraphRuleCheckForDropHandlerName

public final void enableGraphRuleCheckForDropHandlerName(boolean enabled)
Depending on the given boolean this method enables or disables the check against the 'drop handler name' property of a GraphRule.

Parameters:
enabled - flag indicating whether to perform the 'drop handler name' check
See Also:
GraphRule

deepCopy

public final RuleConfiguration deepCopy()
Returns a deep independent copy of this instance.

Returns:
RuleConfiguration the newly created deep copy of this instance


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.