Merge "Endpoints"
[groupbasedpolicy.git] / renderers / ios-xe / src / main / java / org / opendaylight / groupbasedpolicy / renderer / ios_xe_provider / sf / Classifier.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.groupbasedpolicy.renderer.ios_xe_provider.sf;
10
11 import java.util.List;
12
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.common.rev140421.ClassifierDefinitionId;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.renderer.rev151103.renderers.renderer.capabilities.supported.classifier.definition.SupportedParameterValues;
15
16 /**
17  * Represent a classifier definition.
18  */
19 public abstract class Classifier {
20
21     protected final ClassifierDefinitionId parent;
22
23     protected Classifier(ClassifierDefinitionId parent) {
24         this.parent = parent;
25     }
26
27     /**
28      * Get the classifier definition id for this classifier.
29      *
30      * @return the {@link ClassifierDefinitionId} for this classifier
31      */
32     public abstract ClassifierDefinitionId getId();
33
34     /**
35      * Get parent for this classifier.
36      *
37      * @return parent classifier, see {@link Classifier}
38      */
39     public final ClassifierDefinitionId getParent() {
40         return parent;
41     }
42
43     /**
44      * The result represents supported parameters for the classifier by renderer.
45      *
46      * @return list of supported parameters by the classifier
47      */
48     public abstract List<SupportedParameterValues> getSupportedParameterValues();
49
50 }