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)
commitfd9ae3f8e84dba593b27d149d6e6a8baf17cc0fa
tree071582737c54cbd99752a4d77fc92ceb56aaea1d
parent080d7c58c8228aeefc00960b8fd50cf193a04c0c
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:
system/general/src/main/java/org/wamblee/system/container/CompositeInterfaceRestriction.java [deleted file]
system/general/src/main/java/org/wamblee/system/container/Container.java
system/general/src/main/java/org/wamblee/system/container/DefaultInterfaceRestriction.java [deleted file]
system/general/src/main/java/org/wamblee/system/container/InterfaceRestriction.java [deleted file]
system/general/src/main/java/org/wamblee/system/core/AbstractComponent.java
system/general/src/main/java/org/wamblee/system/graph/CompositeEdgeFilter.java [new file with mode: 0644]
system/general/src/main/java/org/wamblee/system/graph/EdgeFilter.java [new file with mode: 0644]
system/general/src/main/java/org/wamblee/system/graph/EdgeSelector.java [new file with mode: 0644]
system/general/src/main/java/org/wamblee/system/graph/Graph.java
system/general/src/main/java/org/wamblee/system/graph/component/ApplyRestrictionsVisitor.java [deleted file]
system/general/src/main/java/org/wamblee/system/graph/component/ComponentGraph.java
system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java [new file with mode: 0644]
system/general/src/test/java/org/wamblee/system/container/ContainerTest.java
system/general/src/test/java/org/wamblee/system/graph/CompositeEdgeFilterTest.java [moved from system/general/src/test/java/org/wamblee/system/container/CompositeInterfaceRestrictionTest.java with 53% similarity]
system/general/src/test/java/org/wamblee/system/graph/GraphTest.java
system/general/src/test/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilterTest.java [moved from system/general/src/test/java/org/wamblee/system/container/DefaultInterfaceRestrictionTest.java with 57% similarity]