blob: c4d7396831935fe0bf41c442afc94cb5ca1e5180 [file] [log] [blame]
anjiaqi12345677cc5e712016-10-18 16:07:06 +08001/*
Brian O'Connor23c7e322017-08-03 18:48:27 -07002 * Copyright 2016-present Open Networking Foundation
anjiaqi12345677cc5e712016-10-18 16:07:06 +08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.nemo.model.common;
17
18import java.beans.ConstructorProperties;
19import java.io.Serializable;
20
21/**
22 * A name for a parameter of constraint.
23 */
24public class ConstraintParameterName extends Name implements Serializable {
25 private static final long serialVersionUID = -3411701192703793928L;
26
27 /**
28 * Creates a new instance from a given name.
29 *
30 * @param value name
31 */
32 @ConstructorProperties("value")
33 public ConstraintParameterName(String value) {
34 super(value);
35 }
36
37 /**
38 * Creates a new instance from a given name object.
39 *
40 * @param source name object
41 */
42 public ConstraintParameterName(Name source) {
43 super(source);
44 }
45}
46