Committed by
Gerrit Code Review
[ONOS-3116] flowclassifierid modified
Change-Id: Ic54f13b829ead51eac7d0a1628956a1512cc5afe
Showing
1 changed file
with
12 additions
and
3 deletions
... | @@ -15,11 +15,11 @@ | ... | @@ -15,11 +15,11 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.vtnrsc; | 16 | package org.onosproject.vtnrsc; |
17 | 17 | ||
18 | -import java.util.Objects; | ||
19 | -import java.util.UUID; | ||
20 | - | ||
21 | import com.google.common.base.MoreObjects; | 18 | import com.google.common.base.MoreObjects; |
22 | 19 | ||
20 | +import java.util.UUID; | ||
21 | +import java.util.Objects; | ||
22 | + | ||
23 | /** | 23 | /** |
24 | * Flow classification identifier. | 24 | * Flow classification identifier. |
25 | */ | 25 | */ |
... | @@ -56,6 +56,15 @@ public final class FlowClassifierId { | ... | @@ -56,6 +56,15 @@ public final class FlowClassifierId { |
56 | return new FlowClassifierId(UUID.fromString(flowClassifierId)); | 56 | return new FlowClassifierId(UUID.fromString(flowClassifierId)); |
57 | } | 57 | } |
58 | 58 | ||
59 | + /** | ||
60 | + * Returns the value of flow classifier id. | ||
61 | + * | ||
62 | + * @return flow classifier id. | ||
63 | + */ | ||
64 | + public UUID value() { | ||
65 | + return flowClassifierId; | ||
66 | + } | ||
67 | + | ||
59 | @Override | 68 | @Override |
60 | public int hashCode() { | 69 | public int hashCode() { |
61 | return Objects.hashCode(this.flowClassifierId); | 70 | return Objects.hashCode(this.flowClassifierId); | ... | ... |
-
Please register or login to post a comment