Removed InterfaceRestriction. Now introduced a friendlier API in
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 18 May 2008 10:28:30 +0000 (10:28 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 18 May 2008 10:28:30 +0000 (10:28 +0000)
commitafab432bc44aa00afbabd07eccaf5c7c11bad7b7
treeba27ebe1c57da3ccd4644ff130dc5b4d710329b7
parent5155524eda678a8c98c6a55696ffc8a83214949a
Removed InterfaceRestriction. Now introduced a friendlier API in
the Container and filtering edges at the graph level. Filtering at graph level is more generic since it allows filtering of any edge (also required -> external required and external provided -> provided).
16 files changed:
trunk/system/general/src/main/java/org/wamblee/system/container/CompositeInterfaceRestriction.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/container/Container.java
trunk/system/general/src/main/java/org/wamblee/system/container/DefaultInterfaceRestriction.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/container/InterfaceRestriction.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/core/AbstractComponent.java
trunk/system/general/src/main/java/org/wamblee/system/graph/CompositeEdgeFilter.java [new file with mode: 0644]
trunk/system/general/src/main/java/org/wamblee/system/graph/EdgeFilter.java [new file with mode: 0644]
trunk/system/general/src/main/java/org/wamblee/system/graph/EdgeSelector.java [new file with mode: 0644]
trunk/system/general/src/main/java/org/wamblee/system/graph/Graph.java
trunk/system/general/src/main/java/org/wamblee/system/graph/component/ApplyRestrictionsVisitor.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/graph/component/ComponentGraph.java
trunk/system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java [new file with mode: 0644]
trunk/system/general/src/test/java/org/wamblee/system/container/ContainerTest.java
trunk/system/general/src/test/java/org/wamblee/system/graph/CompositeEdgeFilterTest.java [moved from trunk/system/general/src/test/java/org/wamblee/system/container/CompositeInterfaceRestrictionTest.java with 53% similarity]
trunk/system/general/src/test/java/org/wamblee/system/graph/GraphTest.java
trunk/system/general/src/test/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilterTest.java [moved from trunk/system/general/src/test/java/org/wamblee/system/container/DefaultInterfaceRestrictionTest.java with 57% similarity]