3 The file is used to define Library Class Identification
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.
16 package org
.tianocore
.frameworkwizard
.module
.Identifications
.LibraryClass
;
18 import java
.util
.Vector
;
20 import org
.tianocore
.frameworkwizard
.module
.Identifications
.ModuleIdentification
;
21 import org
.tianocore
.frameworkwizard
.packaging
.PackageIdentification
;
23 public class LibraryClassIdentification
{
24 private String libraryClassName
= null;
26 private String usage
= null;
28 private String recommendedInstanceVersion
= null;
30 private String recommendedInstanceGuid
= null;
32 private Vector
<String
> supArchList
= null;
34 private String featureFlag
= null;
36 private Vector
<String
> supModuleList
= null;
38 private String help
= null;
40 private ModuleIdentification belongModule
= null;
42 private PackageIdentification declaredBy
= null;
44 public LibraryClassIdentification() {
48 public LibraryClassIdentification(String strName
, String strUsage
, String strRecommendedInstanceVersion
,
49 String strRecommendedInstanceGuid
, Vector
<String
> vSupArchList
,
50 String strFeatureFlag
, Vector
<String
> vSupModuleList
, String strHelp
) {
51 this.libraryClassName
= (strName
== null ?
"" : strName
);
52 this.usage
= (strUsage
== null ?
"" : strUsage
);
53 this.recommendedInstanceVersion
= (strRecommendedInstanceVersion
== null ?
"" : strRecommendedInstanceVersion
);
54 this.recommendedInstanceGuid
= (strRecommendedInstanceGuid
== null ?
"" : strRecommendedInstanceGuid
);
55 this.supArchList
= vSupArchList
;
56 this.featureFlag
= (strFeatureFlag
== null ?
"" : strFeatureFlag
);
57 this.supModuleList
= vSupModuleList
;
58 this.help
= (strHelp
== null ?
"" : strHelp
);
61 public String
getLibraryClassName() {
62 return libraryClassName
;
65 public void setLibraryClassName(String libraryClassName
) {
66 this.libraryClassName
= libraryClassName
;
69 public String
getUsage() {
73 public void setUsage(String usage
) {
77 public String
getFeatureFlag() {
81 public void setFeatureFlag(String featureFlag
) {
82 this.featureFlag
= featureFlag
;
85 public String
getRecommendedInstanceGuid() {
86 return recommendedInstanceGuid
;
89 public void setRecommendedInstanceGuid(String recommendedInstanceGuid
) {
90 this.recommendedInstanceGuid
= recommendedInstanceGuid
;
93 public String
getRecommendedInstanceVersion() {
94 return recommendedInstanceVersion
;
97 public void setRecommendedInstanceVersion(String recommendedInstanceVersion
) {
98 this.recommendedInstanceVersion
= recommendedInstanceVersion
;
101 public Vector
<String
> getSupArchList() {
105 public void setSupArchList(Vector
<String
> supArchList
) {
106 this.supArchList
= supArchList
;
109 public boolean equals(LibraryClassIdentification lib
) {
110 if (this.libraryClassName
.equals(lib
.libraryClassName
) && this.usage
.equals(lib
.getUsage())) {
116 public Vector
<String
> getSupModuleList() {
117 return supModuleList
;
120 public void setSupModuleList(Vector
<String
> supModuleList
) {
121 this.supModuleList
= supModuleList
;
124 public String
getHelp() {
128 public void setHelp(String help
) {
132 public ModuleIdentification
getBelongModule() {
136 public void setBelongModule(ModuleIdentification belongModule
) {
137 this.belongModule
= belongModule
;
140 public PackageIdentification
getDeclaredBy() {
144 public void setDeclaredBy(PackageIdentification declaredBy
) {
145 this.declaredBy
= declaredBy
;