blob: 4e9c6567f6434f9874e3c53dba50671724a26354 [file] [log] [blame]
lishuai2ddc4692015-07-31 15:15:16 +08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
lishuai2ddc4692015-07-31 15:15:16 +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.ovsdb.rfc.table;
17
18import java.util.Map;
19import java.util.Set;
20
21import org.onosproject.ovsdb.rfc.notation.Column;
22import org.onosproject.ovsdb.rfc.notation.Row;
23import org.onosproject.ovsdb.rfc.schema.DatabaseSchema;
24import org.onosproject.ovsdb.rfc.tableservice.AbstractOvsdbTableService;
25import org.onosproject.ovsdb.rfc.tableservice.ColumnDescription;
26
27/**
28 * This class provides operations of Interface Table.
29 */
30public class Interface extends AbstractOvsdbTableService {
31
32 /**
33 * Interface table column name.
34 */
35 public enum InterfaceColumn {
36 NAME("name"), TYPE("type"), OPTIONS("options"),
37 INGRESSPOLICINGRATE("ingress_policing_rate"),
38 INGRESSPOLICINGBURST("ingress_policing_burst"), MACINUSE("mac_in_use"),
39 MAC("mac"), IFINDEX("ifindex"), EXTERNALIDS("external_ids"),
40 OFPORT("ofport"), OFPORTREQUEST("ofport_request"), BFD("bfd"),
41 BFDSTATUS("bfd_status"), MONITOR("monitor"), CFMMPID("cfm_mpid"),
42 CFMREMOTEMPID("cfm_remote_mpid"), CFMREMOTEMPIDS("cfm_remote_mpids"),
43 CFMFLAPCOUNT("cfm_flap_count"), CFMFAULT("cfm_fault"),
44 CFMFAULTSTATUS("cfm_fault_status"),
45 CFMREMOTEOPSTATE("cfm_remote_opstate"), CFMHEALTH("cfm_health"),
46 LACPCURRENT("lacp_current"), OTHERCONFIG("other_config"),
47 STATISTICS("statistics"), STATUS("status"), ADMINSTATE("admin_state"),
48 LINKSTATE("link_state"), LINKRESETS("link_resets"),
49 LINKSPEED("link_speed"), DUPLEX("duplex"), MTU("mtu"), ERROR("error");
50
51 private final String columnName;
52
53 private InterfaceColumn(String columnName) {
54 this.columnName = columnName;
55 }
56
57 /**
58 * Returns the table column name for InterfaceColumn.
59 * @return the table column name
60 */
61 public String columnName() {
62 return columnName;
63 }
64 }
65
66 /**
67 * Constructs a Interface object. Generate Interface Table Description.
68 * @param dbSchema DatabaseSchema
69 * @param row Row
70 */
71 public Interface(DatabaseSchema dbSchema, Row row) {
72 super(dbSchema, row, OvsdbTable.INTERFACE, VersionNum.VERSION100);
73 }
74
75 /**
76 * Get the Column entity which column name is "name" from the Row entity of
77 * attributes.
78 * @return the Column entity which column name is "name"
79 */
80 public Column getNameColumn() {
81 ColumnDescription columndesc = new ColumnDescription(
82 InterfaceColumn.NAME
83 .columnName(),
84 "getNameColumn",
85 VersionNum.VERSION100);
86 return (Column) super.getColumnHandler(columndesc);
87 }
88
89 /**
90 * Add a Column entity which column name is "name" to the Row entity of
91 * attributes.
92 * @param name the column data which column name is "name"
93 */
94 public void setName(String name) {
95 ColumnDescription columndesc = new ColumnDescription(
96 InterfaceColumn.NAME
97 .columnName(),
98 "setName",
99 VersionNum.VERSION100);
100 super.setDataHandler(columndesc, name);
101 }
102
103 /**
104 * Get the column data which column name is "name" from the Row entity of
105 * attributes.
106 * @return the column data which column name is "name"
107 */
108 public String getName() {
109 ColumnDescription columndesc = new ColumnDescription(
110 InterfaceColumn.NAME
111 .columnName(),
112 "getName",
113 VersionNum.VERSION100);
114 return (String) super.getDataHandler(columndesc);
115 }
116
117 /**
118 * Get the Column entity which column name is "type" from the Row entity of
119 * attributes.
120 * @return the Column entity which column name is "type"
121 */
122 public Column getTypeColumn() {
123 ColumnDescription columndesc = new ColumnDescription(
124 InterfaceColumn.TYPE
125 .columnName(),
126 "getTypeColumn",
127 VersionNum.VERSION100);
128 return (Column) super.getColumnHandler(columndesc);
129 }
130
131 /**
132 * Add a Column entity which column name is "type" to the Row entity of
133 * attributes.
134 * @param type the column data which column name is "type"
135 */
136 public void setType(String type) {
137 ColumnDescription columndesc = new ColumnDescription(
138 InterfaceColumn.TYPE
139 .columnName(),
140 "setType",
141 VersionNum.VERSION100);
142 super.setDataHandler(columndesc, type);
143 }
144
145 /**
146 * Get the Column entity which column name is "options" from the Row entity
147 * of attributes.
148 * @return the Column entity which column name is "options"
149 */
150 public Column getOptionsColumn() {
151 ColumnDescription columndesc = new ColumnDescription(
152 InterfaceColumn.OPTIONS
153 .columnName(),
154 "getOptionsColumn",
155 VersionNum.VERSION100);
156 return (Column) super.getColumnHandler(columndesc);
157 }
158
159 /**
160 * Add a Column entity which column name is "options" to the Row entity of
161 * attributes.
162 * @param options the column data which column name is "options"
163 */
164 public void setOptions(Map<String, String> options) {
165 ColumnDescription columndesc = new ColumnDescription(
166 InterfaceColumn.OPTIONS
167 .columnName(),
168 "setOptions",
169 VersionNum.VERSION100);
170 super.setDataHandler(columndesc, options);
171 }
172
173 /**
174 * Get the Column entity which column name is "ingress_policing_rate" from
175 * the Row entity of attributes.
176 * @return the Column entity which column name is "ingress_policing_rate"
177 */
178 public Column getIngressPolicingRateColumn() {
179 ColumnDescription columndesc = new ColumnDescription(
180 InterfaceColumn.INGRESSPOLICINGRATE
181 .columnName(),
182 "getIngressPolicingRateColumn",
183 VersionNum.VERSION100);
184 return (Column) super.getColumnHandler(columndesc);
185 }
186
187 /**
188 * Add a Column entity which column name is "ingress_policing_rate" to the
189 * Row entity of attributes.
190 * @param ingressPolicingRate the column data which column name is
191 * "ingress_policing_rate"
192 */
193 public void setIngressPolicingRate(Set<Long> ingressPolicingRate) {
194 ColumnDescription columndesc = new ColumnDescription(
195 InterfaceColumn.INGRESSPOLICINGRATE
196 .columnName(),
197 "setIngressPolicingRate",
198 VersionNum.VERSION100);
199 super.setDataHandler(columndesc, ingressPolicingRate);
200 }
201
202 /**
203 * Get the Column entity which column name is "ingress_policing_burst" from
204 * the Row entity of attributes.
205 * @return the Column entity which column name is "ingress_policing_burst"
206 */
207 public Column getIngressPolicingBurstColumn() {
208 ColumnDescription columndesc = new ColumnDescription(
209 InterfaceColumn.INGRESSPOLICINGBURST
210 .columnName(),
211 "getIngressPolicingBurstColumn",
212 VersionNum.VERSION100);
213 return (Column) super.getColumnHandler(columndesc);
214 }
215
216 /**
217 * Add a Column entity which column name is "ingress_policing_burst" to the
218 * Row entity of attributes.
219 * @param ingressPolicingBurst the column data which column name is
220 * "ingress_policing_burst"
221 */
222 public void setIngressPolicingBurst(Set<Long> ingressPolicingBurst) {
223 ColumnDescription columndesc = new ColumnDescription(
224 InterfaceColumn.INGRESSPOLICINGBURST
225 .columnName(),
226 "setIngressPolicingBurst",
227 VersionNum.VERSION100);
228 super.setDataHandler(columndesc, ingressPolicingBurst);
229 }
230
231 /**
232 * Get the Column entity which column name is "mac_in_use" from the Row
233 * entity of attributes.
234 * @return the Column entity which column name is "mac_in_use"
235 */
236 public Column getMacInUseColumn() {
237 ColumnDescription columndesc = new ColumnDescription(
238 InterfaceColumn.MACINUSE
239 .columnName(),
240 "getMacInUseColumn",
241 VersionNum.VERSION710);
242 return (Column) super.getColumnHandler(columndesc);
243 }
244
245 /**
246 * Add a Column entity which column name is "mac_in_use" to the Row entity
247 * of attributes.
248 * @param macInUse the column data which column name is "mac_in_use"
249 */
250 public void setMacInUse(Set<String> macInUse) {
251 ColumnDescription columndesc = new ColumnDescription(
252 InterfaceColumn.MACINUSE
253 .columnName(),
254 "setMacInUse",
255 VersionNum.VERSION710);
256 super.setDataHandler(columndesc, macInUse);
257 }
258
259 /**
260 * Get the Column entity which column name is "mac" from the Row entity of
261 * attributes.
262 * @return the Column entity which column name is "mac"
263 */
264 public Column getMacColumn() {
265 ColumnDescription columndesc = new ColumnDescription(
266 InterfaceColumn.MAC
267 .columnName(),
268 "getMacColumn",
269 VersionNum.VERSION100);
270 return (Column) super.getColumnHandler(columndesc);
271 }
272
273 /**
274 * Add a Column entity which column name is "mac" to the Row entity of
275 * attributes.
276 * @param mac the column data which column name is "mac"
277 */
278 public void setMac(Set<String> mac) {
279 ColumnDescription columndesc = new ColumnDescription(
280 InterfaceColumn.MAC
281 .columnName(),
282 "setMac",
283 VersionNum.VERSION100);
284 super.setDataHandler(columndesc, mac);
285 }
286
287 /**
288 * Get the Column entity which column name is "ifindex" from the Row entity
289 * of attributes.
290 * @return the Column entity which column name is "ifindex"
291 */
292 public Column getIfIndexColumn() {
293 ColumnDescription columndesc = new ColumnDescription(
294 InterfaceColumn.IFINDEX
295 .columnName(),
296 "getIfIndexColumn",
297 VersionNum.VERSION721);
298 return (Column) super.getColumnHandler(columndesc);
299 }
300
301 /**
302 * Add a Column entity which column name is "ifindex" to the Row entity of
303 * attributes.
304 * @param ifIndex the column data which column name is "ifindex"
305 */
306 public void setIfIndex(Long ifIndex) {
307 ColumnDescription columndesc = new ColumnDescription(
308 InterfaceColumn.IFINDEX
309 .columnName(),
310 "setIfIndex",
311 VersionNum.VERSION721);
312 super.setDataHandler(columndesc, ifIndex);
313 }
314
315 /**
316 * Get the Column entity which column name is "external_ids" from the Row
317 * entity of attributes.
318 * @return the Column entity which column name is "external_ids"
319 */
320 public Column getExternalIdsColumn() {
321 ColumnDescription columndesc = new ColumnDescription(
322 InterfaceColumn.EXTERNALIDS
323 .columnName(),
324 "getExternalIdsColumn",
325 VersionNum.VERSION100);
326 return (Column) super.getColumnHandler(columndesc);
327 }
328
329 /**
330 * Add a Column entity which column name is "external_ids" to the Row entity
331 * of attributes.
332 * @param externalIds the column data which column name is "external_ids"
333 */
334 public void setExternalIds(Map<String, String> externalIds) {
335 ColumnDescription columndesc = new ColumnDescription(
336 InterfaceColumn.EXTERNALIDS
337 .columnName(),
338 "setExternalIds",
339 VersionNum.VERSION100);
340 super.setDataHandler(columndesc, externalIds);
341 }
342
343 /**
344 * Get the Column entity which column name is "ofport" from the Row entity
345 * of attributes.
346 * @return the Column entity which column name is "ofport"
347 */
348 public Column getOpenFlowPortColumn() {
349 ColumnDescription columndesc = new ColumnDescription(
350 InterfaceColumn.OFPORT
351 .columnName(),
352 "getOpenFlowPortColumn",
353 VersionNum.VERSION100);
354 return (Column) super.getColumnHandler(columndesc);
355 }
356
357 /**
358 * Add a Column entity which column name is "ofport" to the Row entity of
359 * attributes.
360 * @param openFlowPort the column data which column name is "ofport"
361 */
362 public void setOpenFlowPort(Set<Long> openFlowPort) {
363 ColumnDescription columndesc = new ColumnDescription(
364 InterfaceColumn.OFPORT
365 .columnName(),
366 "setOpenFlowPort",
367 VersionNum.VERSION100);
368 super.setDataHandler(columndesc, openFlowPort);
369 }
370
371 /**
372 * Get the Column entity which column name is "ofport_request" from the Row
373 * entity of attributes.
374 * @return the Column entity which column name is "ofport_request"
375 */
376 public Column getOpenFlowPortRequestColumn() {
377 ColumnDescription columndesc = new ColumnDescription(
378 InterfaceColumn.OFPORTREQUEST
379 .columnName(),
380 "getOpenFlowPortRequestColumn",
381 VersionNum.VERSION620);
382 return (Column) super.getColumnHandler(columndesc);
383 }
384
385 /**
386 * Add a Column entity which column name is "ofport_request" to the Row
387 * entity of attributes.
388 * @param openFlowPortRequest the column data which column name is
389 * "ofport_request"
390 */
391 public void setOpenFlowPortRequest(String openFlowPortRequest) {
392 ColumnDescription columndesc = new ColumnDescription(
393 InterfaceColumn.OFPORTREQUEST
394 .columnName(),
395 "setOpenFlowPortRequest",
396 VersionNum.VERSION620);
397 super.setDataHandler(columndesc, openFlowPortRequest);
398 }
399
400 /**
401 * Get the Column entity which column name is "bfd" from the Row entity of
402 * attributes.
403 * @return the Column entity which column name is "bfd"
404 */
405 public Column getBfdColumn() {
406 ColumnDescription columndesc = new ColumnDescription(
407 InterfaceColumn.BFD
408 .columnName(),
409 "getBfdColumn",
410 VersionNum.VERSION720);
411 return (Column) super.getColumnHandler(columndesc);
412 }
413
414 /**
415 * Add a Column entity which column name is "bfd" to the Row entity of
416 * attributes.
417 * @param bfd the column data which column name is "bfd"
418 */
419 public void setBfd(Map<String, String> bfd) {
420 ColumnDescription columndesc = new ColumnDescription(
421 InterfaceColumn.BFD
422 .columnName(),
423 "setBfd",
424 VersionNum.VERSION720);
425 super.setDataHandler(columndesc, bfd);
426 }
427
428 /**
429 * Get the Column entity which column name is "bfd_status" from the Row
430 * entity of attributes.
431 * @return the Column entity which column name is "bfd_status"
432 */
433 public Column getBfdStatusColumn() {
434 ColumnDescription columndesc = new ColumnDescription(
435 InterfaceColumn.BFDSTATUS
436 .columnName(),
437 "getBfdStatusColumn",
438 VersionNum.VERSION720);
439 return (Column) super.getColumnHandler(columndesc);
440 }
441
442 /**
443 * Add a Column entity which column name is "bfd_status" to the Row entity
444 * of attributes.
445 * @param bfdStatus the column data which column name is "bfd_status"
446 */
447 public void setBfdStatus(Map<String, String> bfdStatus) {
448 ColumnDescription columndesc = new ColumnDescription(
449 InterfaceColumn.BFDSTATUS
450 .columnName(),
451 "setBfdStatus",
452 VersionNum.VERSION720);
453 super.setDataHandler(columndesc, bfdStatus);
454 }
455
456 /**
457 * Get the Column entity which column name is "monitor" from the Row entity
458 * of attributes.
459 * @return the Column entity which column name is "monitor"
460 */
461 public Column getMonitorColumn() {
462 ColumnDescription columndesc = new ColumnDescription(
463 InterfaceColumn.MONITOR
464 .columnName(),
465 "getMonitorColumn",
466 VersionNum.VERSION100,
467 VersionNum.VERSION350);
468 return (Column) super.getColumnHandler(columndesc);
469 }
470
471 /**
472 * Add a Column entity which column name is "monitor" to the Row entity of
473 * attributes.
474 * @param monitor the column data which column name is "monitor"
475 */
476 public void setMonitor(String monitor) {
477 ColumnDescription columndesc = new ColumnDescription(
478 InterfaceColumn.MONITOR
479 .columnName(),
480 "setMonitor",
481 VersionNum.VERSION100,
482 VersionNum.VERSION350);
483 super.setDataHandler(columndesc, monitor);
484 }
485
486 /**
487 * Get the Column entity which column name is "cfm_mpid" from the Row entity
488 * of attributes.
489 * @return the Column entity which column name is "cfm_mpid"
490 */
491 public Column getCfmMpidColumn() {
492 ColumnDescription columndesc = new ColumnDescription(
493 InterfaceColumn.CFMMPID
494 .columnName(),
495 "getCfmMpidColumn",
496 VersionNum.VERSION400);
497 return (Column) super.getColumnHandler(columndesc);
498 }
499
500 /**
501 * Add a Column entity which column name is "cfm_mpid" to the Row entity of
502 * attributes.
503 * @param cfmMpid the column data which column name is "cfm_mpid"
504 */
505 public void setCfmMpid(Set<Long> cfmMpid) {
506 ColumnDescription columndesc = new ColumnDescription(
507 InterfaceColumn.CFMMPID
508 .columnName(),
509 "setCfmMpid",
510 VersionNum.VERSION400);
511 super.setDataHandler(columndesc, cfmMpid);
512 }
513
514 /**
515 * Get the Column entity which column name is "cfm_remote_mpid" from the Row
516 * entity of attributes.
517 * @return the Column entity which column name is "cfm_remote_mpid"
518 */
519 public Column getCfmRemoteMpidColumn() {
520 ColumnDescription columndesc = new ColumnDescription(
521 InterfaceColumn.CFMREMOTEMPID
522 .columnName(),
523 "getCfmRemoteMpidColumn",
524 VersionNum.VERSION400,
525 VersionNum.VERSION520);
526 return (Column) super.getColumnHandler(columndesc);
527 }
528
529 /**
530 * Add a Column entity which column name is "cfm_remote_mpid" to the Row
531 * entity of attributes.
532 * @param cfmRemoteMpid the column data which column name is
533 * "cfm_remote_mpid"
534 */
535 public void setCfmRemoteMpid(Set<Long> cfmRemoteMpid) {
536 ColumnDescription columndesc = new ColumnDescription(
537 InterfaceColumn.CFMREMOTEMPID
538 .columnName(),
539 "setCfmRemoteMpid",
540 VersionNum.VERSION400,
541 VersionNum.VERSION520);
542 super.setDataHandler(columndesc, cfmRemoteMpid);
543 }
544
545 /**
546 * Get the Column entity which column name is "cfm_remote_mpids" from the
547 * Row entity of attributes.
548 * @return the Column entity which column name is "cfm_remote_mpids"
549 */
550 public Column getCfmRemoteMpidsColumn() {
551 ColumnDescription columndesc = new ColumnDescription(
552 InterfaceColumn.CFMREMOTEMPIDS
553 .columnName(),
554 "getCfmRemoteMpidsColumn",
555 VersionNum.VERSION600);
556 return (Column) super.getColumnHandler(columndesc);
557 }
558
559 /**
560 * Add a Column entity which column name is "cfm_remote_mpids" to the Row
561 * entity of attributes.
562 * @param cfmRemoteMpids the column data which column name is
563 * "cfm_remote_mpids"
564 */
565 public void setCfmRemoteMpids(Set<Long> cfmRemoteMpids) {
566 ColumnDescription columndesc = new ColumnDescription(
567 InterfaceColumn.CFMREMOTEMPIDS
568 .columnName(),
569 "setCfmRemoteMpids",
570 VersionNum.VERSION600);
571 super.setDataHandler(columndesc, cfmRemoteMpids);
572 }
573
574 /**
575 * Get the Column entity which column name is "cfm_flap_count" from the Row
576 * entity of attributes.
577 * @return the Column entity which column name is "cfm_flap_count"
578 */
579 public Column getCfmFlapCountColumn() {
580 ColumnDescription columndesc = new ColumnDescription(
581 InterfaceColumn.CFMFLAPCOUNT
582 .columnName(),
583 "getCfmFlapCountColumn",
584 VersionNum.VERSION730);
585 return (Column) super.getColumnHandler(columndesc);
586 }
587
588 /**
589 * Add a Column entity which column name is "cfm_flap_count" to the Row
590 * entity of attributes.
591 * @param cfmFlapCount the column data which column name is "cfm_flap_count"
592 */
593 public void setCfmFlapCount(Set<Long> cfmFlapCount) {
594 ColumnDescription columndesc = new ColumnDescription(
595 InterfaceColumn.CFMFLAPCOUNT
596 .columnName(),
597 "setCfmFlapCount",
598 VersionNum.VERSION730);
599 super.setDataHandler(columndesc, cfmFlapCount);
600 }
601
602 /**
603 * Get the Column entity which column name is "cfm_fault" from the Row
604 * entity of attributes.
605 * @return the Column entity which column name is "cfm_fault"
606 */
607 public Column getCfmFaultColumn() {
608 ColumnDescription columndesc = new ColumnDescription(
609 InterfaceColumn.CFMFAULT
610 .columnName(),
611 "getCfmFaultColumn",
612 VersionNum.VERSION400);
613 return (Column) super.getColumnHandler(columndesc);
614 }
615
616 /**
617 * Add a Column entity which column name is "cfm_fault" to the Row entity of
618 * attributes.
619 * @param cfmFault the column data which column name is "cfm_fault"
620 */
621 public void setCfmFault(Set<Boolean> cfmFault) {
622 ColumnDescription columndesc = new ColumnDescription(
623 InterfaceColumn.CFMFAULT
624 .columnName(),
625 "setCfmFault",
626 VersionNum.VERSION400);
627 super.setDataHandler(columndesc, cfmFault);
628 }
629
630 /**
631 * Get the Column entity which column name is "cfm_fault_status" from the
632 * Row entity of attributes.
633 * @return the Column entity which column name is "cfm_fault_status"
634 */
635 public Column getCfmFaultStatusColumn() {
636 ColumnDescription columndesc = new ColumnDescription(
637 InterfaceColumn.CFMFAULTSTATUS
638 .columnName(),
639 "getCfmFaultStatusColumn",
640 VersionNum.VERSION660);
641 return (Column) super.getColumnHandler(columndesc);
642 }
643
644 /**
645 * Add a Column entity which column name is "cfm_fault_status" to the Row
646 * entity of attributes.
647 * @param cfmFaultStatus the column data which column name is
648 * "cfm_fault_status"
649 */
650 public void setCfmFaultStatus(Set<String> cfmFaultStatus) {
651 ColumnDescription columndesc = new ColumnDescription(
652 InterfaceColumn.CFMFAULTSTATUS
653 .columnName(),
654 "setCfmFaultStatus",
655 VersionNum.VERSION660);
656 super.setDataHandler(columndesc, cfmFaultStatus);
657 }
658
659 /**
660 * Get the Column entity which column name is "cfm_remote_opstate" from the
661 * Row entity of attributes.
662 * @return the Column entity which column name is "cfm_remote_opstate"
663 */
664 public Column getCfmRemoteOpStateColumn() {
665 ColumnDescription columndesc = new ColumnDescription(
666 InterfaceColumn.CFMREMOTEOPSTATE
667 .columnName(),
668 "getCfmRemoteOpStateColumn",
669 VersionNum.VERSION6100);
670 return (Column) super.getColumnHandler(columndesc);
671 }
672
673 /**
674 * Add a Column entity which column name is "cfm_remote_opstate" to the Row
675 * entity of attributes.
676 * @param cfmRemoteOpState the column data which column name is
677 * "cfm_remote_opstate"
678 */
679 public void setCfmRemoteOpState(Set<String> cfmRemoteOpState) {
680 ColumnDescription columndesc = new ColumnDescription(
681 InterfaceColumn.CFMREMOTEOPSTATE
682 .columnName(),
683 "setCfmRemoteOpState",
684 VersionNum.VERSION6100);
685 super.setDataHandler(columndesc, cfmRemoteOpState);
686 }
687
688 /**
689 * Get the Column entity which column name is "cfm_health" from the Row
690 * entity of attributes.
691 * @return the Column entity which column name is "cfm_health"
692 */
693 public Column getCfmHealthColumn() {
694 ColumnDescription columndesc = new ColumnDescription(
695 InterfaceColumn.CFMHEALTH
696 .columnName(),
697 "getCfmHealthColumn",
698 VersionNum.VERSION690);
699 return (Column) super.getColumnHandler(columndesc);
700 }
701
702 /**
703 * Add a Column entity which column name is "cfm_health" to the Row entity
704 * of attributes.
705 * @param cfmHealth the column data which column name is "cfm_health"
706 */
707 public void setCfmHealth(Set<Long> cfmHealth) {
708 ColumnDescription columndesc = new ColumnDescription(
709 InterfaceColumn.CFMHEALTH
710 .columnName(),
711 "setCfmHealth",
712 VersionNum.VERSION690);
713 super.setDataHandler(columndesc, cfmHealth);
714 }
715
716 /**
717 * Get the Column entity which column name is "lacp_current" from the Row
718 * entity of attributes.
719 * @return the Column entity which column name is "lacp_current"
720 */
721 public Column getLacpCurrentColumn() {
722 ColumnDescription columndesc = new ColumnDescription(
723 InterfaceColumn.LACPCURRENT
724 .columnName(),
725 "getLacpCurrentColumn",
726 VersionNum.VERSION330);
727 return (Column) super.getColumnHandler(columndesc);
728 }
729
730 /**
731 * Add a Column entity which column name is "lacp_current" to the Row entity
732 * of attributes.
733 * @param lacpCurrent the column data which column name is "lacp_current"
734 */
735 public void setLacpCurrent(Set<Boolean> lacpCurrent) {
736 ColumnDescription columndesc = new ColumnDescription(
737 InterfaceColumn.LACPCURRENT
738 .columnName(),
739 "setLacpCurrent",
740 VersionNum.VERSION330);
741 super.setDataHandler(columndesc, lacpCurrent);
742 }
743
744 /**
745 * Get the Column entity which column name is "other_config" from the Row
746 * entity of attributes.
747 * @return the Column entity which column name is "other_config"
748 */
749 public Column getOtherConfigColumn() {
750 ColumnDescription columndesc = new ColumnDescription(
751 InterfaceColumn.OTHERCONFIG
752 .columnName(),
753 "getOtherConfigColumn",
754 VersionNum.VERSION100);
755 return (Column) super.getColumnHandler(columndesc);
756 }
757
758 /**
759 * Add a Column entity which column name is "other_config" to the Row entity
760 * of attributes.
761 * @param otherConfig the column data which column name is "other_config"
762 */
763 public void setOtherConfig(Map<String, String> otherConfig) {
764 ColumnDescription columndesc = new ColumnDescription(
765 InterfaceColumn.OTHERCONFIG
766 .columnName(),
767 "setOtherConfig",
768 VersionNum.VERSION100);
769 super.setDataHandler(columndesc, otherConfig);
770 }
771
772 /**
773 * Get the Column entity which column name is "statistics" from the Row
774 * entity of attributes.
775 * @return the Column entity which column name is "statistics"
776 */
777 public Column getStatisticsColumn() {
778 ColumnDescription columndesc = new ColumnDescription(
779 InterfaceColumn.STATISTICS
780 .columnName(),
781 "getStatisticsColumn",
782 VersionNum.VERSION100);
783 return (Column) super.getColumnHandler(columndesc);
784 }
785
786 /**
787 * Add a Column entity which column name is "statistics" to the Row entity
788 * of attributes.
789 * @param statistics the column data which column name is "statistics"
790 */
791 public void setStatistics(Map<String, Long> statistics) {
792 ColumnDescription columndesc = new ColumnDescription(
793 InterfaceColumn.STATISTICS
794 .columnName(),
795 "setStatistics",
796 VersionNum.VERSION100);
797 super.setDataHandler(columndesc, statistics);
798 }
799
800 /**
801 * Get the Column entity which column name is "status" from the Row entity
802 * of attributes.
803 * @return the Column entity which column name is "status"
804 */
805 public Column getStatusColumn() {
806 ColumnDescription columndesc = new ColumnDescription(
807 InterfaceColumn.STATUS
808 .columnName(),
809 "getStatusColumn",
810 VersionNum.VERSION100);
811 return (Column) super.getColumnHandler(columndesc);
812 }
813
814 /**
815 * Add a Column entity which column name is "status" to the Row entity of
816 * attributes.
817 * @param status the column data which column name is "status"
818 */
819 public void setStatus(Map<String, String> status) {
820 ColumnDescription columndesc = new ColumnDescription(
821 InterfaceColumn.STATUS
822 .columnName(),
823 "setStatus",
824 VersionNum.VERSION100);
825 super.setDataHandler(columndesc, status);
826 }
827
828 /**
829 * Get the Column entity which column name is "admin_state" from the Row
830 * entity of attributes.
831 * @return the Column entity which column name is "admin_state"
832 */
833 public Column getAdminStateColumn() {
834 ColumnDescription columndesc = new ColumnDescription(
835 InterfaceColumn.ADMINSTATE
836 .columnName(),
837 "getAdminStateColumn",
838 VersionNum.VERSION106);
839 return (Column) super.getColumnHandler(columndesc);
840 }
841
842 /**
843 * Add a Column entity which column name is "admin_state" to the Row entity
844 * of attributes.
845 * @param adminState the column data which column name is "admin_state"
846 */
847 public void setAdminState(Set<String> adminState) {
848 ColumnDescription columndesc = new ColumnDescription(
849 InterfaceColumn.ADMINSTATE
850 .columnName(),
851 "setAdminState",
852 VersionNum.VERSION106);
853 super.setDataHandler(columndesc, adminState);
854 }
855
856 /**
857 * Get the Column entity which column name is "link_state" from the Row
858 * entity of attributes.
859 * @return the Column entity which column name is "link_state"
860 */
861 public Column getLinkStateColumn() {
862 ColumnDescription columndesc = new ColumnDescription(
863 InterfaceColumn.LINKSTATE
864 .columnName(),
865 "getLinkStateColumn",
866 VersionNum.VERSION106);
867 return (Column) super.getColumnHandler(columndesc);
868 }
869
870 /**
871 * Add a Column entity which column name is "link_state" to the Row entity
872 * of attributes.
873 * @param linkState the column data which column name is "link_state"
874 */
875 public void setLinkState(Map<String, String> linkState) {
876 ColumnDescription columndesc = new ColumnDescription(
877 InterfaceColumn.LINKSTATE
878 .columnName(),
879 "setLinkState",
880 VersionNum.VERSION106);
881 super.setDataHandler(columndesc, linkState);
882 }
883
884 /**
885 * Get the Column entity which column name is "link_resets" from the Row
886 * entity of attributes.
887 * @return the Column entity which column name is "link_resets"
888 */
889 public Column getLinkResetsColumn() {
890 ColumnDescription columndesc = new ColumnDescription(
891 InterfaceColumn.LINKRESETS
892 .columnName(),
893 "getLinkResetsColumn",
894 VersionNum.VERSION620);
895 return (Column) super.getColumnHandler(columndesc);
896 }
897
898 /**
899 * Add a Column entity which column name is "link_resets" to the Row entity
900 * of attributes.
901 * @param linkResets the column data which column name is "link_resets"
902 */
903 public void setLinkResets(Set<String> linkResets) {
904 ColumnDescription columndesc = new ColumnDescription(
905 InterfaceColumn.LINKRESETS
906 .columnName(),
907 "setLinkResets",
908 VersionNum.VERSION620);
909 super.setDataHandler(columndesc, linkResets);
910 }
911
912 /**
913 * Get the Column entity which column name is "link_speed" from the Row
914 * entity of attributes.
915 * @return the Column entity which column name is "link_speed"
916 */
917 public Column getLinkSpeedColumn() {
918 ColumnDescription columndesc = new ColumnDescription(
919 InterfaceColumn.LINKSPEED
920 .columnName(),
921 "getLinkSpeedColumn",
922 VersionNum.VERSION106);
923 return (Column) super.getColumnHandler(columndesc);
924 }
925
926 /**
927 * Add a Column entity which column name is "link_speed" to the Row entity
928 * of attributes.
929 * @param linkSpeed the column data which column name is "link_speed"
930 */
931 public void setLinkSpeed(Set<Long> linkSpeed) {
932 ColumnDescription columndesc = new ColumnDescription(
933 InterfaceColumn.LINKSPEED
934 .columnName(),
935 "setLinkSpeed",
936 VersionNum.VERSION106);
937 super.setDataHandler(columndesc, linkSpeed);
938 }
939
940 /**
941 * Get the Column entity which column name is "duplex" from the Row entity
942 * of attributes.
943 * @return the Column entity which column name is "duplex"
944 */
945 public Column getDuplexColumn() {
946 ColumnDescription columndesc = new ColumnDescription(
947 InterfaceColumn.DUPLEX
948 .columnName(),
949 "getDuplexColumn",
950 VersionNum.VERSION106);
951 return (Column) super.getColumnHandler(columndesc);
952 }
953
954 /**
955 * Add a Column entity which column name is "duplex" to the Row entity of
956 * attributes.
957 * @param duplex the column data which column name is "duplex"
958 */
959 public void setDuplex(Set<Long> duplex) {
960 ColumnDescription columndesc = new ColumnDescription(
961 InterfaceColumn.DUPLEX
962 .columnName(),
963 "setDuplex",
964 VersionNum.VERSION106);
965 super.setDataHandler(columndesc, duplex);
966 }
967
968 /**
969 * Get the Column entity which column name is "mtu" from the Row entity of
970 * attributes.
971 * @return the Column entity which column name is "mtu"
972 */
973 public Column getMtuColumn() {
974 ColumnDescription columndesc = new ColumnDescription(
975 InterfaceColumn.MTU
976 .columnName(),
977 "getMtuColumn",
978 VersionNum.VERSION106);
979 return (Column) super.getColumnHandler(columndesc);
980 }
981
982 /**
983 * Add a Column entity which column name is "mtu" to the Row entity of
984 * attributes.
985 * @param mtu the column data which column name is "mtu"
986 */
987 public void setMtu(Set<Long> mtu) {
988 ColumnDescription columndesc = new ColumnDescription(
989 InterfaceColumn.MTU
990 .columnName(),
991 "setMtu",
992 VersionNum.VERSION106);
993 super.setDataHandler(columndesc, mtu);
994 }
995
996 /**
997 * Get the Column entity which column name is "error" from the Row entity of
998 * attributes.
999 * @return the Column entity which column name is "error"
1000 */
1001 public Column getErrorColumn() {
1002 ColumnDescription columndesc = new ColumnDescription(
1003 InterfaceColumn.ERROR
1004 .columnName(),
1005 "getErrorColumn",
1006 VersionNum.VERSION770);
1007 return (Column) super.getColumnHandler(columndesc);
1008 }
1009
1010 /**
1011 * Add a Column entity which column name is "error" to the Row entity of
1012 * attributes.
1013 * @param error the column data which column name is "error"
1014 */
1015 public void setError(Set<String> error) {
1016 ColumnDescription columndesc = new ColumnDescription(
1017 InterfaceColumn.ERROR
1018 .columnName(),
1019 "setError",
1020 VersionNum.VERSION770);
1021 super.setDataHandler(columndesc, error);
1022 }
1023
1024}