3 The file is used to init all JComboBox items
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 package org
.tianocore
.frameworkwizard
.common
;
17 import java
.util
.Vector
;
19 public class EnumerationData
{
23 public final static String EXTERNS_PCD_IS_DRIVER
= "Pcd Is Driver";
25 public final static String EXTERNS_SPECIFICATION
= "Specification";
27 public final static String EXTERNS_MODULE_ENTRY_POINT
= "ModuleEntryPoint";
28 public final static String EXTERNS_MODULE_UNLOAD_IMAGE
= "ModuleUnloadImage";
30 public final static String EXTERNS_CONSTRUCTOR
= "Constructor";
31 public final static String EXTERNS_DESTRUCTOR
= "Destructor";
33 public final static String EXTERNS_DRIVER_BINDING
= "DriverBinding";
34 public final static String EXTERNS_COMPONENT_NAME
= "ComponentName";
35 public final static String EXTERNS_DRIVER_CONFIG
= "DriverConfig";
36 public final static String EXTERNS_DRIVER_DIAG
= "DriverDiag";
38 public final static String EXTERNS_SET_VIRTUAL_ADDRESS_MAP_CALL_BACK
= "SetVirtualAddressMapCallBack";
39 public final static String EXTERNS_EXIT_BOOT_SERVICES_CALL_BACK
= "ExitBootServicesCallBack";
44 public Vector
<String
> vSupportedArchitectures
= new Vector
<String
>();
46 public Vector
<String
> vEnabled
= new Vector
<String
>();
48 public Vector
<String
> vBoolean
= new Vector
<String
>();
53 public Vector
<String
> vModuleType
= new Vector
<String
>();
55 public Vector
<String
> vCompontentType
= new Vector
<String
>();
58 // Used by Library Class Definitions
60 public Vector
<String
> vLibraryUsage
= new Vector
<String
>();
62 public Vector
<String
> vFrameworkModuleTypes
= new Vector
<String
>();
64 public Vector
<String
> vLibClassDef
= new Vector
<String
>();
66 public Vector
<String
> vLibClassDefBase
= new Vector
<String
>();
68 public Vector
<String
> vLibClassDefPei
= new Vector
<String
>();
70 public Vector
<String
> vLibClassDefPeim
= new Vector
<String
>();
72 public Vector
<String
> vLibClassDefDxeCore
= new Vector
<String
>();
74 public Vector
<String
> vLibClassDefDxeDriver
= new Vector
<String
>();
76 public Vector
<String
> vLibClassDefDxeSmmDriver
= new Vector
<String
>();
78 public Vector
<String
> vLibClassDefUefiDriver
= new Vector
<String
>();
81 // Used by Source Files
83 public Vector
<String
> vSourceFilesToolChainFamily
= new Vector
<String
>();
85 public Vector
<String
> vSourceFilesFileType
= new Vector
<String
>();
88 // Used by Package Dependencies
90 public Vector
<String
> vPackageUsage
= new Vector
<String
>();
95 public Vector
<String
> vProtocolUsage
= new Vector
<String
>();
97 public Vector
<String
> vProtocolNotifyUsage
= new Vector
<String
>();
99 public Vector
<String
> vProtocolType
= new Vector
<String
>();
104 public Vector
<String
> vEventType
= new Vector
<String
>();
106 public Vector
<String
> vEventUsage
= new Vector
<String
>();
108 public Vector
<String
> vEventGroup
= new Vector
<String
>();
113 public Vector
<String
> vHobType
= new Vector
<String
>();
115 public Vector
<String
> vHobUsage
= new Vector
<String
>();
120 public Vector
<String
> vPpiType
= new Vector
<String
>();
122 public Vector
<String
> vPpiUsage
= new Vector
<String
>();
124 public Vector
<String
> vPpiNotifyUsage
= new Vector
<String
>();
129 public Vector
<String
> vVariableUsage
= new Vector
<String
>();
134 public Vector
<String
> vBootModeNames
= new Vector
<String
>();
136 public Vector
<String
> vBootModeUsage
= new Vector
<String
>();
139 // Used by System Tables
141 public Vector
<String
> vSystemTableUsage
= new Vector
<String
>();
146 public Vector
<String
> vDataHubUsage
= new Vector
<String
>();
149 // Used by Hii Packages
151 public Vector
<String
> vHiiPackageUsage
= new Vector
<String
>();
156 public Vector
<String
> vGuidUsage
= new Vector
<String
>();
161 public Vector
<String
> vExternTypes
= new Vector
<String
>();
163 public Vector
<String
> vPcdDriverTypes
= new Vector
<String
>();
168 public Vector
<String
> vPcdItemTypes
= new Vector
<String
>();
170 public EnumerationData() {
174 private void init() {
176 // Init common data first
178 initSupportedArchitectures();
183 // Used by Msa header
188 // Used by Library Class Definitions
191 initFrameworkModuleTypes();
192 initLibClassDefBase();
193 initLibClassDefPei();
194 initLibClassDefPeim();
195 initLibClassDefDxeCore();
196 initLibClassDefDxeDriver();
197 initLibClassDefDxeSmmDriver();
198 initLibClassDefUefiDriver();
202 // Used by Library Class Definitions
204 initSourceFilesToolChainFamily();
205 initSourceFilesFileType();
208 // Used by Package Dependencies
217 initProtocolNotifyUsage();
237 initPpiNotifyUsage();
251 // Used by System Tables
253 initSystemTableUsage();
261 // Used by Hii Packages
274 initPcdDriverTypes();
283 private void initEnabled() {
284 vEnabled
.removeAllElements();
285 vEnabled
.addElement("Disabled");
286 vEnabled
.addElement("Enabled");
289 private void initBoolean() {
290 vBoolean
.removeAllElements();
291 vBoolean
.addElement("False");
292 vBoolean
.addElement("True");
295 private void initModuleType() {
296 vModuleType
.removeAllElements();
297 vModuleType
.addElement("BASE");
298 vModuleType
.addElement("SEC");
299 vModuleType
.addElement("PEI_CORE");
300 vModuleType
.addElement("PEIM");
301 vModuleType
.addElement("DXE_CORE");
302 vModuleType
.addElement("DXE_DRIVER");
303 vModuleType
.addElement("DXE_RUNTIME_DRIVER");
304 vModuleType
.addElement("DXE_SAL_DRIVER");
305 vModuleType
.addElement("DXE_SMM_DRIVER");
306 vModuleType
.addElement("TOOL");
307 vModuleType
.addElement("UEFI_DRIVER");
308 vModuleType
.addElement("UEFI_APPLICATION");
309 vModuleType
.addElement("USER_DEFINED");
310 Sort
.sortVectorString(vModuleType
, DataType
.SORT_TYPE_ASCENDING
);
313 // private void initComponentType() {
314 // vCompontentType.removeAllElements();
315 // vCompontentType.addElement("APRIORI");
316 // vCompontentType.addElement("LIBRARY");
317 // vCompontentType.addElement("FV_IMAGE_FILE");
318 // vCompontentType.addElement("BS_DRIVER");
319 // vCompontentType.addElement("RT_DRIVER");
320 // vCompontentType.addElement("SAL_RT_DRIVER");
321 // vCompontentType.addElement("PE32_PEIM");
322 // vCompontentType.addElement("PIC_PEIM");
323 // vCompontentType.addElement("COMBINED_PEIM_DRIVER");
324 // vCompontentType.addElement("PEI_CORE");
325 // vCompontentType.addElement("DXE_CORE");
326 // vCompontentType.addElement("APPLICATION");
327 // vCompontentType.addElement("BS_DRIVER_EFI");
328 // vCompontentType.addElement("SHELLAPP");
331 private void initSupportedArchitectures() {
332 vSupportedArchitectures
.removeAllElements();
333 vSupportedArchitectures
.addElement("EBC");
334 vSupportedArchitectures
.addElement("IA32");
335 vSupportedArchitectures
.addElement("X64");
336 vSupportedArchitectures
.addElement("IPF");
337 vSupportedArchitectures
.addElement("ARM");
338 vSupportedArchitectures
.addElement("PPC");
341 private void initLibraryUsage() {
342 vLibraryUsage
.removeAllElements();
343 vLibraryUsage
.addElement("ALWAYS_CONSUMED");
344 vLibraryUsage
.addElement("SOMETIMES_CONSUMED");
345 vLibraryUsage
.addElement("ALWAYS_PRODUCED");
346 vLibraryUsage
.addElement("SOMETIMES_PRODUCED");
347 vLibraryUsage
.addElement("DEFAULT");
348 vLibraryUsage
.addElement("PRIVATE");
351 private void initFrameworkModuleTypes() {
352 vFrameworkModuleTypes
.removeAllElements();
353 vFrameworkModuleTypes
.addElement("BASE");
354 vFrameworkModuleTypes
.addElement("SEC");
355 vFrameworkModuleTypes
.addElement("PEI_CORE");
356 vFrameworkModuleTypes
.addElement("PEIM");
357 vFrameworkModuleTypes
.addElement("DXE_CORE");
358 vFrameworkModuleTypes
.addElement("DXE_DRIVER");
359 vFrameworkModuleTypes
.addElement("DXE_RUNTIME_DRIVER");
360 vFrameworkModuleTypes
.addElement("DXE_SAL_DRIVER");
361 vFrameworkModuleTypes
.addElement("DXE_SMM_DRIVER");
362 vFrameworkModuleTypes
.addElement("TOOL");
363 vFrameworkModuleTypes
.addElement("UEFI_DRIVER");
364 vFrameworkModuleTypes
.addElement("UEFI_APPLICATION");
365 vFrameworkModuleTypes
.addElement("USER_DEFINED");
366 Sort
.sortVectorString(vFrameworkModuleTypes
, DataType
.SORT_TYPE_ASCENDING
);
369 private void initLibClassDef() {
370 vLibClassDef
.removeAllElements();
371 for (int index
= 0; index
< vLibClassDefBase
.size(); index
++) {
372 vLibClassDef
.addElement(vLibClassDefBase
.elementAt(index
));
374 for (int index
= 0; index
< vLibClassDefPei
.size(); index
++) {
375 vLibClassDef
.addElement(vLibClassDefPei
.elementAt(index
));
377 for (int index
= 0; index
< vLibClassDefPeim
.size(); index
++) {
378 vLibClassDef
.addElement(vLibClassDefPeim
.elementAt(index
));
380 for (int index
= 0; index
< vLibClassDefDxeCore
.size(); index
++) {
381 vLibClassDef
.addElement(vLibClassDefDxeCore
.elementAt(index
));
383 for (int index
= 0; index
< vLibClassDefDxeDriver
.size(); index
++) {
384 vLibClassDef
.addElement(vLibClassDefDxeDriver
.elementAt(index
));
386 for (int index
= 0; index
< vLibClassDefDxeSmmDriver
.size(); index
++) {
387 vLibClassDef
.addElement(vLibClassDefDxeSmmDriver
.elementAt(index
));
389 for (int index
= 0; index
< vLibClassDefUefiDriver
.size(); index
++) {
390 vLibClassDef
.addElement(vLibClassDefUefiDriver
.elementAt(index
));
394 private void initLibClassDefBase() {
395 vLibClassDefBase
.removeAllElements();
396 vLibClassDefBase
.addElement("BaseLib");
397 vLibClassDefBase
.addElement("BaseMemoryLib");
398 vLibClassDefBase
.addElement("CacheMaintenanceLib");
399 vLibClassDefBase
.addElement("DebugLib");
400 vLibClassDefBase
.addElement("IoLib");
401 vLibClassDefBase
.addElement("PcdLib");
402 vLibClassDefBase
.addElement("PciCf8Lib");
403 vLibClassDefBase
.addElement("PciExpressLib");
404 vLibClassDefBase
.addElement("PciLib");
405 vLibClassDefBase
.addElement("PeCoffGetEntryPointLib");
406 vLibClassDefBase
.addElement("PeCoffLib");
407 vLibClassDefBase
.addElement("PerformanceLib");
408 vLibClassDefBase
.addElement("PrintLib");
409 vLibClassDefBase
.addElement("SmbusLib");
410 vLibClassDefBase
.addElement("TimerLib");
413 private void initLibClassDefPei() {
414 vLibClassDefPei
.removeAllElements();
415 vLibClassDefPei
.addElement("PeiCoreEntryPoint");
418 private void initLibClassDefPeim() {
419 vLibClassDefPeim
.removeAllElements();
420 vLibClassDefPeim
.addElement("BaseMemoryLib");
421 vLibClassDefPeim
.addElement("DebugLib");
422 vLibClassDefPeim
.addElement("HobLib");
423 vLibClassDefPeim
.addElement("IoLib");
424 vLibClassDefPeim
.addElement("MemoryAllocationLib");
425 vLibClassDefPeim
.addElement("PcdLib");
426 vLibClassDefPeim
.addElement("PeiCoreLib");
427 vLibClassDefPeim
.addElement("PeiServicesTablePointerLib");
428 vLibClassDefPeim
.addElement("PeimEntryPoint");
429 vLibClassDefPeim
.addElement("ReportStatusCodeLib");
430 vLibClassDefPeim
.addElement("ResourcePublicationLib");
431 vLibClassDefPeim
.addElement("SmbusLib");
434 private void initLibClassDefDxeCore() {
435 vLibClassDefDxeCore
.removeAllElements();
436 vLibClassDefDxeCore
.addElement("DxeCoreEntryPoint");
437 vLibClassDefDxeCore
.addElement("HobLib");
440 private void initLibClassDefDxeDriver() {
441 vLibClassDefDxeDriver
.removeAllElements();
442 vLibClassDefDxeDriver
.addElement("DxeServicesTableLib");
443 vLibClassDefDxeDriver
.addElement("HiiLib");
444 vLibClassDefDxeDriver
.addElement("HobLib");
445 vLibClassDefDxeDriver
.addElement("IoLib");
446 vLibClassDefDxeDriver
.addElement("MemoryAllocationLib");
447 vLibClassDefDxeDriver
.addElement("PcdLib");
448 vLibClassDefDxeDriver
.addElement("ReportStatusCodeLib");
449 vLibClassDefDxeDriver
.addElement("SmbusLib");
450 vLibClassDefDxeDriver
.addElement("UefiBootServicesTableLib");
451 vLibClassDefDxeDriver
.addElement("UefiDecompressLib");
452 vLibClassDefDxeDriver
.addElement("UefiRuntimeServicesTableLib");
455 private void initLibClassDefDxeSmmDriver() {
456 vLibClassDefDxeSmmDriver
.removeAllElements();
457 vLibClassDefDxeSmmDriver
.addElement("DxeSmmDriverEntryPoint");
460 private void initLibClassDefUefiDriver() {
461 vLibClassDefUefiDriver
.removeAllElements();
462 vLibClassDefUefiDriver
.addElement("BaseMemoryLib");
463 vLibClassDefUefiDriver
.addElement("DebugLib");
464 vLibClassDefUefiDriver
.addElement("DevicePathLib");
465 vLibClassDefUefiDriver
.addElement("UefiDriverEntryPoint");
466 vLibClassDefUefiDriver
.addElement("UefiDriverModelLib");
467 vLibClassDefUefiDriver
.addElement("UefiLib");
470 private void initSourceFilesToolChainFamily() {
471 vSourceFilesToolChainFamily
.removeAllElements();
472 vSourceFilesToolChainFamily
.addElement("MSFT");
473 vSourceFilesToolChainFamily
.addElement("INTC");
474 vSourceFilesToolChainFamily
.addElement("GCC");
477 private void initSourceFilesFileType() {
478 vSourceFilesFileType
.removeAllElements();
479 vSourceFilesFileType
.addElement("CCODE");
480 vSourceFilesFileType
.addElement("CHEADER");
481 vSourceFilesFileType
.addElement("ASMHEADER");
482 vSourceFilesFileType
.addElement("ASM");
483 vSourceFilesFileType
.addElement("UNI");
484 vSourceFilesFileType
.addElement("TXT");
485 vSourceFilesFileType
.addElement("DXS");
486 vSourceFilesFileType
.addElement("BMP");
487 vSourceFilesFileType
.addElement("VFR");
488 vSourceFilesFileType
.addElement("BINARY");
489 vSourceFilesFileType
.addElement("FV");
490 vSourceFilesFileType
.addElement("FFS");
491 vSourceFilesFileType
.addElement("EFI");
494 private void initPackageUsage() {
495 vPackageUsage
.removeAllElements();
496 vPackageUsage
.addElement("ALWAYS_CONSUMED");
497 vPackageUsage
.addElement("ALWAYS_PRODUCED");
498 vPackageUsage
.addElement("DEFAULT");
501 private void initProtocolUsage() {
502 vProtocolUsage
.removeAllElements();
503 vProtocolUsage
.addElement("ALWAYS_CONSUMED");
504 vProtocolUsage
.addElement("SOMETIMES_CONSUMED");
505 vProtocolUsage
.addElement("ALWAYS_PRODUCED");
506 vProtocolUsage
.addElement("SOMETIMES_PRODUCED");
507 vProtocolUsage
.addElement("TO_START");
508 vProtocolUsage
.addElement("BY_START");
509 vProtocolUsage
.addElement("PRIVATE");
512 private void initProtocolType() {
513 vProtocolType
.removeAllElements();
514 vProtocolType
.addElement("Protocol");
515 vProtocolType
.addElement("Protocol Notify");
518 private void initEventType() {
519 vEventType
.removeAllElements();
520 vEventType
.addElement("CreateEvents");
521 vEventType
.addElement("SignalEvents");
524 private void initEventUsage() {
525 vEventUsage
.removeAllElements();
526 vEventUsage
.addElement("ALWAYS_CONSUMED");
527 vEventUsage
.addElement("SOMETIMES_CONSUMED");
528 vEventUsage
.addElement("ALWAYS_PRODUCED");
529 vEventUsage
.addElement("SOMETIMES_PRODUCED");
530 vEventUsage
.addElement("PRIVATE");
533 private void initEventGroup() {
534 vEventGroup
.removeAllElements();
535 vEventGroup
.addElement("EVENT_GROUP_GUID");
536 vEventGroup
.addElement("EVENT_TYPE_PERIODIC_TIMER");
537 vEventGroup
.addElement("EVENT_TYPE_RELATIVE_TIMER");
540 private void initHobType() {
541 vHobType
.removeAllElements();
542 vHobType
.addElement("PHIT");
543 vHobType
.addElement("MEMORY_ALLOCATION");
544 vHobType
.addElement("RESOURCE_DESCRIPTOR");
545 vHobType
.addElement("GUID_EXTENSION");
546 vHobType
.addElement("FIRMWARE_VOLUME");
547 vHobType
.addElement("CPU");
548 vHobType
.addElement("POOL");
549 vHobType
.addElement("CAPSULE_VOLUME");
552 private void initHobUsage() {
553 vHobUsage
.removeAllElements();
554 vHobUsage
.addElement("ALWAYS_CONSUMED");
555 vHobUsage
.addElement("SOMETIMES_CONSUMED");
556 vHobUsage
.addElement("ALWAYS_PRODUCED");
557 vHobUsage
.addElement("SOMETIMES_PRODUCED");
558 vHobUsage
.addElement("PRIVATE");
561 private void initPpiType() {
562 vPpiType
.removeAllElements();
563 vPpiType
.addElement("Ppi");
564 vPpiType
.addElement("Ppi Notify");
567 private void initPpiUsage() {
568 vPpiUsage
.removeAllElements();
569 vPpiUsage
.addElement("ALWAYS_CONSUMED");
570 vPpiUsage
.addElement("SOMETIMES_CONSUMED");
571 vPpiUsage
.addElement("ALWAYS_PRODUCED");
572 vPpiUsage
.addElement("SOMETIMES_PRODUCED");
573 vPpiUsage
.addElement("PRIVATE");
576 private void initPpiNotifyUsage() {
577 vPpiNotifyUsage
.removeAllElements();
578 vPpiNotifyUsage
.addElement("SOMETIMES_CONSUMED");
581 private void initProtocolNotifyUsage() {
582 vProtocolNotifyUsage
.addElement("SOMETIMES_CONSUMED");
585 private void initVariableUsage() {
586 vVariableUsage
.removeAllElements();
587 vVariableUsage
.addElement("ALWAYS_CONSUMED");
588 vVariableUsage
.addElement("SOMETIMES_CONSUMED");
589 vVariableUsage
.addElement("ALWAYS_PRODUCED");
590 vVariableUsage
.addElement("SOMETIMES_PRODUCED");
591 vVariableUsage
.addElement("PRIVATE");
594 private void initBootModeNames() {
595 vBootModeNames
.removeAllElements();
596 vBootModeNames
.addElement("FULL");
597 vBootModeNames
.addElement("MINIMAL");
598 vBootModeNames
.addElement("NO_CHANGE");
599 vBootModeNames
.addElement("DIAGNOSTICS");
600 vBootModeNames
.addElement("DEFAULT");
601 vBootModeNames
.addElement("S2_RESUME");
602 vBootModeNames
.addElement("S3_RESUME");
603 vBootModeNames
.addElement("S4_RESUME");
604 vBootModeNames
.addElement("S5_RESUME");
605 vBootModeNames
.addElement("FLASH_UPDATE");
606 vBootModeNames
.addElement("RECOVERY");
609 private void initBootModeUsage() {
610 vBootModeUsage
.removeAllElements();
611 vBootModeUsage
.addElement("ALWAYS_CONSUMED");
612 vBootModeUsage
.addElement("SOMETIMES_CONSUMED");
613 vBootModeUsage
.addElement("ALWAYS_PRODUCED");
614 vBootModeUsage
.addElement("SOMETIMES_PRODUCED");
617 private void initSystemTableUsage() {
618 vSystemTableUsage
.removeAllElements();
619 vSystemTableUsage
.addElement("ALWAYS_CONSUMED");
620 vSystemTableUsage
.addElement("SOMETIMES_CONSUMED");
621 vSystemTableUsage
.addElement("ALWAYS_PRODUCED");
622 vSystemTableUsage
.addElement("SOMETIMES_PRODUCED");
623 vSystemTableUsage
.addElement("PRIVATE");
626 private void initDataHubUsage() {
627 vDataHubUsage
.removeAllElements();
628 vDataHubUsage
.addElement("ALWAYS_CONSUMED");
629 vDataHubUsage
.addElement("SOMETIMES_CONSUMED");
630 vDataHubUsage
.addElement("ALWAYS_PRODUCED");
631 vDataHubUsage
.addElement("SOMETIMES_PRODUCED");
632 vDataHubUsage
.addElement("PRIVATE");
635 private void initHiiPackages() {
636 vHiiPackageUsage
.removeAllElements();
637 vHiiPackageUsage
.addElement("ALWAYS_PRODUCED");
638 vHiiPackageUsage
.addElement("SOMETIMES_PRODUCED");
639 vHiiPackageUsage
.addElement("PRIVATE");
642 private void initGuidUsage() {
643 vGuidUsage
.removeAllElements();
644 vGuidUsage
.addElement("ALWAYS_CONSUMED");
645 vGuidUsage
.addElement("SOMETIMES_CONSUMED");
646 vGuidUsage
.addElement("ALWAYS_PRODUCED");
647 vGuidUsage
.addElement("SOMETIMES_PRODUCED");
648 vGuidUsage
.addElement("DEFAULT");
649 vGuidUsage
.addElement("PRIVATE");
652 private void initExternTypes() {
653 vExternTypes
.removeAllElements();
655 vExternTypes
.addElement(EnumerationData
.EXTERNS_PCD_IS_DRIVER
);
657 vExternTypes
.addElement(EnumerationData
.EXTERNS_SPECIFICATION
);
659 vExternTypes
.addElement(EnumerationData
.EXTERNS_MODULE_ENTRY_POINT
);
660 vExternTypes
.addElement(EnumerationData
.EXTERNS_MODULE_UNLOAD_IMAGE
);
662 vExternTypes
.addElement(EnumerationData
.EXTERNS_CONSTRUCTOR
);
663 vExternTypes
.addElement(EnumerationData
.EXTERNS_DESTRUCTOR
);
665 vExternTypes
.addElement(EnumerationData
.EXTERNS_DRIVER_BINDING
);
666 vExternTypes
.addElement(EnumerationData
.EXTERNS_COMPONENT_NAME
);
667 vExternTypes
.addElement(EnumerationData
.EXTERNS_DRIVER_CONFIG
);
668 vExternTypes
.addElement(EnumerationData
.EXTERNS_DRIVER_DIAG
);
670 vExternTypes
.addElement(EnumerationData
.EXTERNS_SET_VIRTUAL_ADDRESS_MAP_CALL_BACK
);
671 vExternTypes
.addElement(EnumerationData
.EXTERNS_EXIT_BOOT_SERVICES_CALL_BACK
);
674 private void initPcdDriverTypes() {
675 vPcdDriverTypes
.removeAllElements();
676 vPcdDriverTypes
.addElement(DataType
.EMPTY_SELECT_ITEM
);
677 vPcdDriverTypes
.addElement("PEI_PCD_DRIVER");
678 vPcdDriverTypes
.addElement("DXE_PCD_DRIVER");
681 private void initPcdItemTypes() {
682 vPcdItemTypes
.removeAllElements();
683 vPcdItemTypes
.addElement("FEATURE_FLAG");
684 vPcdItemTypes
.addElement("FIXED_AT_BUILD");
685 vPcdItemTypes
.addElement("PATCHABLE_IN_MODULE");
686 vPcdItemTypes
.addElement("DYNAMIC");
687 vPcdItemTypes
.addElement("DYNAMIC_EX");
690 public Vector
<String
> getvCompontentType() {
691 return vCompontentType
;
694 public void setvCompontentType(Vector
<String
> componentType
) {
695 vCompontentType
= componentType
;
698 public Vector
<String
> getVModuleType() {
702 public void setVModuleType(Vector
<String
> moduleType
) {
703 vModuleType
= moduleType
;
706 public Vector
<String
> getVLibraryUsage() {
707 return vLibraryUsage
;
710 public void setVLibClassDefUsage(Vector
<String
> libClassDefUsage
) {
711 vLibraryUsage
= libClassDefUsage
;
714 public Vector
<String
> getVLibClassDef() {
718 public void setVLibClassDef(Vector
<String
> libClassDef
) {
719 vLibClassDef
= libClassDef
;
722 public Vector
<String
> getVCompontentType() {
723 return vCompontentType
;
726 public void setVCompontentType(Vector
<String
> compontentType
) {
727 vCompontentType
= compontentType
;
730 public Vector
<String
> getVLibClassDefBase() {
731 return vLibClassDefBase
;
734 public void setVLibClassDefBase(Vector
<String
> libClassDefBase
) {
735 vLibClassDefBase
= libClassDefBase
;
738 public Vector
<String
> getVLibClassDefDxeCore() {
739 return vLibClassDefDxeCore
;
742 public void setVLibClassDefDxeCore(Vector
<String
> libClassDefDxeCore
) {
743 vLibClassDefDxeCore
= libClassDefDxeCore
;
746 public Vector
<String
> getVLibClassDefDxeDriver() {
747 return vLibClassDefDxeDriver
;
750 public void setVLibClassDefDxeDriver(Vector
<String
> libClassDefDxeDriver
) {
751 vLibClassDefDxeDriver
= libClassDefDxeDriver
;
754 public Vector
<String
> getVLibClassDefDxeSmmDriver() {
755 return vLibClassDefDxeSmmDriver
;
758 public void setVLibClassDefDxeSmmDriver(Vector
<String
> libClassDefDxeSmmDriver
) {
759 vLibClassDefDxeSmmDriver
= libClassDefDxeSmmDriver
;
762 public Vector
<String
> getVLibClassDefPei() {
763 return vLibClassDefPei
;
766 public void setVLibClassDefPei(Vector
<String
> libClassDefPei
) {
767 vLibClassDefPei
= libClassDefPei
;
770 public Vector
<String
> getVLibClassDefPeim() {
771 return vLibClassDefPeim
;
774 public void setVLibClassDefPeim(Vector
<String
> libClassDefPeim
) {
775 vLibClassDefPeim
= libClassDefPeim
;
778 public Vector
<String
> getVLibClassDefUefiDriver() {
779 return vLibClassDefUefiDriver
;
782 public void setVLibClassDefUefiDriver(Vector
<String
> libClassDefUefiDriver
) {
783 vLibClassDefUefiDriver
= libClassDefUefiDriver
;
786 public Vector
<String
> getVSourceFilesFileType() {
787 return vSourceFilesFileType
;
790 public void setVSourceFilesFileType(Vector
<String
> sourceFilesFileType
) {
791 vSourceFilesFileType
= sourceFilesFileType
;
794 public Vector
<String
> getVSourceFilesToolChainFamily() {
795 return vSourceFilesToolChainFamily
;
798 public void setVSourceFilesToolChainFamily(Vector
<String
> sourceFilesToolChainFamily
) {
799 vSourceFilesToolChainFamily
= sourceFilesToolChainFamily
;
802 public void setVLibraryUsage(Vector
<String
> libraryUsage
) {
803 vLibraryUsage
= libraryUsage
;
806 public Vector
<String
> getVProtocolNotifyUsage() {
807 return vProtocolNotifyUsage
;
810 public void setVProtocolNotifyUsage(Vector
<String
> protocolNotifyUsage
) {
811 vProtocolNotifyUsage
= protocolNotifyUsage
;
814 public Vector
<String
> getVProtocolUsage() {
815 return vProtocolUsage
;
818 public void setVProtocolUsage(Vector
<String
> protocolUsage
) {
819 vProtocolUsage
= protocolUsage
;
822 public Vector
<String
> getVSupportedArchitectures() {
823 return vSupportedArchitectures
;
826 public void setVSupportedArchitectures(Vector
<String
> supportedArchitectures
) {
827 vSupportedArchitectures
= supportedArchitectures
;
830 public Vector
<String
> getVProtocolType() {
831 return vProtocolType
;
834 public void setVProtocolType(Vector
<String
> protocolType
) {
835 vProtocolType
= protocolType
;
838 public Vector
<String
> getVEventGroup() {
842 public void setVEventGroup(Vector
<String
> eventGroup
) {
843 vEventGroup
= eventGroup
;
846 public Vector
<String
> getVEventType() {
850 public void setVEventType(Vector
<String
> eventType
) {
851 vEventType
= eventType
;
854 public Vector
<String
> getVEventUsage() {
858 public void setVEventUsage(Vector
<String
> eventUsage
) {
859 vEventUsage
= eventUsage
;
862 public Vector
<String
> getVEnabled() {
866 public void setVEnabled(Vector
<String
> enabled
) {
870 public Vector
<String
> getVHobType() {
874 public void setVHobType(Vector
<String
> hobType
) {
878 public Vector
<String
> getVHobUsage() {
882 public void setVHobUsage(Vector
<String
> hobUsage
) {
883 vHobUsage
= hobUsage
;
886 public Vector
<String
> getVPpiNotifyUsage() {
887 return vPpiNotifyUsage
;
890 public void setVPpiNotifyUsage(Vector
<String
> ppiNotifyUsage
) {
891 vPpiNotifyUsage
= ppiNotifyUsage
;
894 public Vector
<String
> getVPpiType() {
898 public void setVPpiType(Vector
<String
> ppiType
) {
902 public Vector
<String
> getVPpiUsage() {
906 public void setVPpiUsage(Vector
<String
> ppiUsage
) {
907 vPpiUsage
= ppiUsage
;
910 public Vector
<String
> getVVariableUsage() {
911 return vVariableUsage
;
914 public void setVVariableUsage(Vector
<String
> variableUsage
) {
915 vVariableUsage
= variableUsage
;
918 public Vector
<String
> getVBootModeNames() {
919 return vBootModeNames
;
922 public void setVBootModeNames(Vector
<String
> bootModeNames
) {
923 vBootModeNames
= bootModeNames
;
926 public Vector
<String
> getVBootModeUsage() {
927 return vBootModeUsage
;
930 public void setVBootModeUsage(Vector
<String
> bootModeUsage
) {
931 vBootModeUsage
= bootModeUsage
;
934 public Vector
<String
> getVSystemTableUsage() {
935 return vSystemTableUsage
;
938 public void setVSystemTableUsage(Vector
<String
> systemTableUsage
) {
939 vSystemTableUsage
= systemTableUsage
;
942 public Vector
<String
> getVDataHubUsage() {
943 return vDataHubUsage
;
946 public void setVDataHubUsage(Vector
<String
> dataHubUsage
) {
947 vDataHubUsage
= dataHubUsage
;
950 public Vector
<String
> getVGuidUsage() {
954 public void setVGuidUsage(Vector
<String
> guidUsage
) {
955 vGuidUsage
= guidUsage
;
958 public Vector
<String
> getVHiiPackageUsage() {
959 return vHiiPackageUsage
;
962 public void setVHiiPackageUsage(Vector
<String
> hiiPackageUsage
) {
963 vHiiPackageUsage
= hiiPackageUsage
;
966 public Vector
<String
> getVPcdItemTypes() {
967 return vPcdItemTypes
;
970 public void setVPcdItemTypes(Vector
<String
> pcdItemTypes
) {
971 vPcdItemTypes
= pcdItemTypes
;
974 public Vector
<String
> getVExternTypes() {
978 public void setVExternTypes(Vector
<String
> externTypes
) {
979 vExternTypes
= externTypes
;
982 public Vector
<String
> getVPcdDriverTypes() {
983 return vPcdDriverTypes
;
986 public void setVPcdDriverTypes(Vector
<String
> pcdDriverTypes
) {
987 vPcdDriverTypes
= pcdDriverTypes
;
990 public Vector
<String
> getVBoolean() {
994 public void setVBoolean(Vector
<String
> boolean1
) {
998 public Vector
<String
> getVFrameworkModuleTypes() {
999 return vFrameworkModuleTypes
;
1002 public void setVFrameworkModuleTypes(Vector
<String
> frameworkModuleTypes
) {
1003 vFrameworkModuleTypes
= frameworkModuleTypes
;
1006 public Vector
<String
> getVPackageUsage() {
1007 return vPackageUsage
;
1010 public void setVPackageUsage(Vector
<String
> packageUsage
) {
1011 vPackageUsage
= packageUsage
;