1
2
3
4
5 package com.jguild.jrpm.io.constant;
6
7
8 /***
9 * Constants for tags.
10 *
11 * @version $Id: RPMHeaderTag.java,v 1.4 2004/05/06 20:59:24 mkuss Exp $
12 */
13 public final class RPMHeaderTag implements EnumIf {
14 public static final RPMHeaderTag UNKNOWN = new RPMHeaderTag(_UNKNOWN, "UNKNOWN");
15 public static final int _HEADERIMAGE = 61;
16 public static final RPMHeaderTag HEADERIMAGE = new RPMHeaderTag(_HEADERIMAGE, "HEADERIMAGE");
17 public static final int _HEADERSIGNATURES = 62;
18 public static final RPMHeaderTag HEADERSIGNATURES = new RPMHeaderTag(_HEADERSIGNATURES, "HEADERSIGNATURES");
19 public static final int _HEADERIMMUTABLE = 63;
20 public static final RPMHeaderTag HEADERIMMUTABLE = new RPMHeaderTag(_HEADERIMMUTABLE, "HEADERIMMUTABLE");
21 public static final int _HEADERREGIONS = 64;
22 public static final RPMHeaderTag HEADERREGIONS = new RPMHeaderTag(_HEADERREGIONS, "HEADERREGIONS");
23 public static final int _HEADERI18NTABLE = 100;
24 public static final RPMHeaderTag HEADERI18NTABLE = new RPMHeaderTag(_HEADERI18NTABLE, "HEADERI18NTABLE");
25 public static final int _SIG_BASE = 256;
26 public static final RPMHeaderTag SIG_BASE = new RPMHeaderTag(_SIG_BASE, "SIG_BASE");
27 public static final int _SIGSIZE = 257;
28 public static final RPMHeaderTag SIGSIZE = new RPMHeaderTag(_SIGSIZE, "SIGSIZE");
29 public static final int _SIGLEMD5_1 = 258;
30 public static final RPMHeaderTag SIGLEMD5_1 = new RPMHeaderTag(_SIGLEMD5_1, "SIGLEMD5_1");
31 public static final int _SIGPGP = 259;
32 public static final RPMHeaderTag SIGPGP = new RPMHeaderTag(_SIGPGP, "SIGPGP");
33 public static final int _SIGLEMD5_2 = 260;
34 public static final RPMHeaderTag SIGLEMD5_2 = new RPMHeaderTag(_SIGLEMD5_2, "SIGLEMD5_2");
35 public static final int _SIGMD5 = 261;
36 public static final RPMHeaderTag SIGMD5 = new RPMHeaderTag(_SIGMD5, "SIGMD5");
37 public static final RPMHeaderTag PKGID = new RPMHeaderTag(_SIGMD5, "PKGID");
38 public static final int _SIGGPG = 262;
39 public static final RPMHeaderTag SIGGPG = new RPMHeaderTag(_SIGGPG, "SIGGPG");
40 public static final int _SIGPGP5 = 263;
41 public static final RPMHeaderTag SIGPGP5 = new RPMHeaderTag(_SIGPGP5, "SIGPGP5");
42 public static final int _BADSHA1_1 = 264;
43 public static final RPMHeaderTag BADSHA1_1 = new RPMHeaderTag(_BADSHA1_1, "BADSHA1_1");
44 public static final int _BADSHA1_2 = 265;
45 public static final RPMHeaderTag BADSHA1_2 = new RPMHeaderTag(_BADSHA1_2, "BADSHA1_2");
46 public static final int _PUBKEYS = 266;
47 public static final RPMHeaderTag PUBKEYS = new RPMHeaderTag(_PUBKEYS, "PUBKEYS");
48 public static final int _DSAHEADER = 267;
49 public static final RPMHeaderTag DSAHEADER = new RPMHeaderTag(_DSAHEADER, "DSAHEADER");
50 public static final int _RSAHEADER = 268;
51 public static final RPMHeaderTag RSAHEADER = new RPMHeaderTag(_RSAHEADER, "RSAHEADER");
52 public static final int _SHA1HEADER = 269;
53 public static final RPMHeaderTag SHA1HEADER = new RPMHeaderTag(_SHA1HEADER, "SHA1HEADER");
54 public static final RPMHeaderTag HDRID = new RPMHeaderTag(_SHA1HEADER, "HDRID");
55 public static final int _NAME = 1000;
56 public static final RPMHeaderTag NAME = new RPMHeaderTag(_NAME, "NAME");
57 public static final RPMHeaderTag N = new RPMHeaderTag(_NAME, "N");
58 public static final int _VERSION = 1001;
59 public static final RPMHeaderTag VERSION = new RPMHeaderTag(_VERSION, "VERSION");
60 public static final RPMHeaderTag V = new RPMHeaderTag(_VERSION, "V");
61 public static final int _RELEASE = 1002;
62 public static final RPMHeaderTag RELEASE = new RPMHeaderTag(_RELEASE, "RELEASE");
63 public static final RPMHeaderTag R = new RPMHeaderTag(_RELEASE, "R");
64 public static final int _EPOCH = 1003;
65 public static final RPMHeaderTag EPOCH = new RPMHeaderTag(_EPOCH, "EPOCH");
66 public static final RPMHeaderTag E = new RPMHeaderTag(_EPOCH, "E");
67
68 public static final RPMHeaderTag SERIAL = new RPMHeaderTag(_EPOCH, "SERIAL");
69 public static final int _SUMMARY = 1004;
70 public static final RPMHeaderTag SUMMARY = new RPMHeaderTag(_SUMMARY, "SUMMARY");
71 public static final int _DESCRIPTION = 1005;
72 public static final RPMHeaderTag DESCRIPTION = new RPMHeaderTag(_DESCRIPTION, "DESCRIPTION");
73 public static final int _BUILDTIME = 1006;
74 public static final RPMHeaderTag BUILDTIME = new RPMHeaderTag(_BUILDTIME, "BUILDTIME");
75 public static final int _BUILDHOST = 1007;
76 public static final RPMHeaderTag BUILDHOST = new RPMHeaderTag(_BUILDHOST, "BUILDHOST");
77 public static final int _INSTALLTIME = 1008;
78 public static final RPMHeaderTag INSTALLTIME = new RPMHeaderTag(_INSTALLTIME, "INSTALLTIME");
79 public static final int _SIZE = 1009;
80 public static final RPMHeaderTag SIZE = new RPMHeaderTag(_SIZE, "SIZE");
81 public static final int _DISTRIBUTION = 1010;
82 public static final RPMHeaderTag DISTRIBUTION = new RPMHeaderTag(_DISTRIBUTION, "DISTRIBUTION");
83 public static final int _VENDOR = 1011;
84 public static final RPMHeaderTag VENDOR = new RPMHeaderTag(_VENDOR, "VENDOR");
85 public static final int _GIF = 1012;
86 public static final RPMHeaderTag GIF = new RPMHeaderTag(_GIF, "GIF");
87 public static final int _XPM = 1013;
88 public static final RPMHeaderTag XPM = new RPMHeaderTag(_XPM, "XPM");
89 public static final int _LICENSE = 1014;
90 public static final RPMHeaderTag LICENSE = new RPMHeaderTag(_LICENSE, "LICENSE");
91
92 public static final RPMHeaderTag COPYRIGHT = new RPMHeaderTag(_LICENSE, "COPYRIGHT");
93 public static final int _PACKAGER = 1015;
94 public static final RPMHeaderTag PACKAGER = new RPMHeaderTag(_PACKAGER, "PACKAGER");
95 public static final int _GROUP = 1016;
96 public static final RPMHeaderTag GROUP = new RPMHeaderTag(_GROUP, "GROUP");
97 public static final int _CHANGELOG = 1017;
98 public static final RPMHeaderTag CHANGELOG = new RPMHeaderTag(_CHANGELOG, "CHANGELOG");
99 public static final int _SOURCE = 1018;
100 public static final RPMHeaderTag SOURCE = new RPMHeaderTag(_SOURCE, "SOURCE");
101 public static final int _PATCH = 1019;
102 public static final RPMHeaderTag PATCH = new RPMHeaderTag(_PATCH, "PATCH");
103 public static final int _URL = 1020;
104 public static final RPMHeaderTag URL = new RPMHeaderTag(_URL, "URL");
105 public static final int _OS = 1021;
106 public static final RPMHeaderTag OS = new RPMHeaderTag(_OS, "OS");
107 public static final int _ARCH = 1022;
108 public static final RPMHeaderTag ARCH = new RPMHeaderTag(_ARCH, "ARCH");
109 public static final int _PREIN = 1023;
110 public static final RPMHeaderTag PREIN = new RPMHeaderTag(_PREIN, "PREIN");
111 public static final int _POSTIN = 1024;
112 public static final RPMHeaderTag POSTIN = new RPMHeaderTag(_POSTIN, "POSTIN");
113 public static final int _PREUN = 1025;
114 public static final RPMHeaderTag PREUN = new RPMHeaderTag(_PREUN, "PREUN");
115 public static final int _POSTUN = 1026;
116 public static final RPMHeaderTag POSTUN = new RPMHeaderTag(_POSTUN, "POSTUN");
117 public static final int _OLDFILENAMES = 1027;
118 public static final RPMHeaderTag OLDFILENAMES = new RPMHeaderTag(_OLDFILENAMES, "OLDFILENAMES");
119 public static final int _FILESIZES = 1028;
120 public static final RPMHeaderTag FILESIZES = new RPMHeaderTag(_FILESIZES, "FILESIZES");
121 public static final int _FILESTATES = 1029;
122 public static final RPMHeaderTag FILESTATES = new RPMHeaderTag(_FILESTATES, "FILESTATES");
123 public static final int _FILEMODES = 1030;
124 public static final RPMHeaderTag FILEMODES = new RPMHeaderTag(_FILEMODES, "FILEMODES");
125 public static final int _FILEUIDS = 1031;
126 public static final RPMHeaderTag FILEUIDS = new RPMHeaderTag(_FILEUIDS, "FILEUIDS");
127 public static final int _FILEGIDS = 1032;
128 public static final RPMHeaderTag FILEGIDS = new RPMHeaderTag(_FILEGIDS, "FILEGIDS");
129 public static final int _FILERDEVS = 1033;
130 public static final RPMHeaderTag FILERDEVS = new RPMHeaderTag(_FILERDEVS, "FILERDEVS");
131 public static final int _FILEMTIMES = 1034;
132 public static final RPMHeaderTag FILEMTIMES = new RPMHeaderTag(_FILEMTIMES, "FILEMTIMES");
133 public static final int _FILEMD5S = 1035;
134 public static final RPMHeaderTag FILEMD5S = new RPMHeaderTag(_FILEMD5S, "FILEMD5S");
135 public static final int _FILELINKTOS = 1036;
136 public static final RPMHeaderTag FILELINKTOS = new RPMHeaderTag(_FILELINKTOS, "FILELINKTOS");
137 public static final int _FILEFLAGS = 1037;
138 public static final RPMHeaderTag FILEFLAGS = new RPMHeaderTag(_FILEFLAGS, "FILEFLAGS");
139 public static final int _ROOT = 1038;
140 public static final RPMHeaderTag ROOT = new RPMHeaderTag(_ROOT, "ROOT");
141 public static final int _FILEUSERNAME = 1039;
142 public static final RPMHeaderTag FILEUSERNAME = new RPMHeaderTag(_FILEUSERNAME, "FILEUSERNAME");
143 public static final int _FILEGROUPNAME = 1040;
144 public static final RPMHeaderTag FILEGROUPNAME = new RPMHeaderTag(_FILEGROUPNAME, "FILEGROUPNAME");
145 public static final int _EXCLUDE = 1041;
146 public static final RPMHeaderTag EXCLUDE = new RPMHeaderTag(_EXCLUDE, "EXCLUDE");
147 public static final int _EXCLUSIVE = 1042;
148 public static final RPMHeaderTag EXCLUSIVE = new RPMHeaderTag(_EXCLUSIVE, "EXCLUSIVE");
149 public static final int _ICON = 1043;
150 public static final RPMHeaderTag ICON = new RPMHeaderTag(_ICON, "ICON");
151 public static final int _SOURCERPM = 1044;
152 public static final RPMHeaderTag SOURCERPM = new RPMHeaderTag(_SOURCERPM, "SOURCERPM");
153 public static final int _FILEVERIFYFLAGS = 1045;
154 public static final RPMHeaderTag FILEVERIFYFLAGS = new RPMHeaderTag(_FILEVERIFYFLAGS, "FILEVERIFYFLAGS");
155 public static final int _ARCHIVESIZE = 1046;
156 public static final RPMHeaderTag ARCHIVESIZE = new RPMHeaderTag(_ARCHIVESIZE, "ARCHIVESIZE");
157 public static final int _PROVIDENAME = 1047;
158 public static final RPMHeaderTag PROVIDENAME = new RPMHeaderTag(_PROVIDENAME, "PROVIDENAME");
159
160 public static final RPMHeaderTag PROVIDES = new RPMHeaderTag(_PROVIDENAME, "PROVIDES");
161 public static final int _REQUIREFLAGS = 1048;
162 public static final RPMHeaderTag REQUIREFLAGS = new RPMHeaderTag(_REQUIREFLAGS, "REQUIREFLAGS");
163 public static final int _REQUIRENAME = 1049;
164 public static final RPMHeaderTag REQUIRENAME = new RPMHeaderTag(_REQUIRENAME, "REQUIRENAME");
165 public static final int _REQUIREVERSION = 1050;
166 public static final RPMHeaderTag REQUIREVERSION = new RPMHeaderTag(_REQUIREVERSION, "REQUIREVERSION");
167 public static final int _NOSOURCE = 1051;
168 public static final RPMHeaderTag NOSOURCE = new RPMHeaderTag(_NOSOURCE, "NOSOURCE");
169 public static final int _NOPATCH = 1052;
170 public static final RPMHeaderTag NOPATCH = new RPMHeaderTag(_NOPATCH, "NOPATCH");
171 public static final int _CONFLICTFLAGS = 1053;
172 public static final RPMHeaderTag CONFLICTFLAGS = new RPMHeaderTag(_CONFLICTFLAGS, "CONFLICTFLAGS");
173 public static final int _CONFLICTNAME = 1054;
174 public static final RPMHeaderTag CONFLICTNAME = new RPMHeaderTag(_CONFLICTNAME, "CONFLICTNAME");
175 public static final int _CONFLICTVERSION = 1055;
176 public static final RPMHeaderTag CONFLICTVERSION = new RPMHeaderTag(_CONFLICTVERSION, "CONFLICTVERSION");
177 public static final int _DEFAULTPREFIX = 1056;
178 public static final RPMHeaderTag DEFAULTPREFIX = new RPMHeaderTag(_DEFAULTPREFIX, "DEFAULTPREFIX");
179 public static final int _BUILDROOT = 1057;
180 public static final RPMHeaderTag BUILDROOT = new RPMHeaderTag(_BUILDROOT, "BUILDROOT");
181 public static final int _INSTALLPREFIX = 1058;
182 public static final RPMHeaderTag INSTALLPREFIX = new RPMHeaderTag(_INSTALLPREFIX, "INSTALLPREFIX");
183 public static final int _EXCLUDEARCH = 1059;
184 public static final RPMHeaderTag EXCLUDEARCH = new RPMHeaderTag(_EXCLUDEARCH, "EXCLUDEARCH");
185 public static final int _EXCLUDEOS = 1060;
186 public static final RPMHeaderTag EXCLUDEOS = new RPMHeaderTag(_EXCLUDEOS, "EXCLUDEOS");
187 public static final int _EXCLUSIVEARCH = 1061;
188 public static final RPMHeaderTag EXCLUSIVEARCH = new RPMHeaderTag(_EXCLUSIVEARCH, "EXCLUSIVEARCH");
189 public static final int _EXCLUSIVEOS = 1062;
190 public static final RPMHeaderTag EXCLUSIVEOS = new RPMHeaderTag(_EXCLUSIVEOS, "EXCLUSIVEOS");
191 public static final int _AUTOREQPROV = 1063;
192 public static final RPMHeaderTag AUTOREQPROV = new RPMHeaderTag(_AUTOREQPROV, "AUTOREQPROV");
193 public static final int _RPMVERSION = 1064;
194 public static final RPMHeaderTag RPMVERSION = new RPMHeaderTag(_RPMVERSION, "RPMVERSION");
195 public static final int _TRIGGERSCRIPTS = 1065;
196 public static final RPMHeaderTag TRIGGERSCRIPT = new RPMHeaderTag(_TRIGGERSCRIPTS, "TRIGGERSCRIPTS");
197 public static final int _TRIGGERNAME = 1066;
198 public static final RPMHeaderTag TRIGGERNAME = new RPMHeaderTag(_TRIGGERNAME, "TRIGGERNAME");
199 public static final int _TRIGGERVERSION = 1067;
200 public static final RPMHeaderTag TRIGGERVERSION = new RPMHeaderTag(_TRIGGERVERSION, "TRIGGERVERSION");
201 public static final int _TRIGGERFLAGS = 1068;
202 public static final RPMHeaderTag TRIGGERFLAGS = new RPMHeaderTag(_TRIGGERFLAGS, "TRIGGERFLAGS");
203 public static final int _TRIGGERINDEX = 1069;
204 public static final RPMHeaderTag TRIGGERINDEX = new RPMHeaderTag(_TRIGGERINDEX, "TRIGGERINDEX");
205 public static final int _VERIFYSCRIPT = 1079;
206 public static final RPMHeaderTag VERIFYSCRIPT = new RPMHeaderTag(_VERIFYSCRIPT, "VERIFYSCRIPT");
207 public static final int _CHANGELOGTIME = 1080;
208 public static final RPMHeaderTag CHANGELOGTIME = new RPMHeaderTag(_CHANGELOGTIME, "CHANGELOGTIME");
209 public static final int _CHANGELOGNAME = 1081;
210 public static final RPMHeaderTag CHANGELOGNAME = new RPMHeaderTag(_CHANGELOGNAME, "CHANGELOGNAME");
211 public static final int _CHANGELOGTEXT = 1082;
212 public static final RPMHeaderTag CHANGELOGTEXT = new RPMHeaderTag(_CHANGELOGTEXT, "CHANGELOGTEXT");
213 public static final int _BROKENMD5 = 1083;
214 public static final RPMHeaderTag BROKENMD5 = new RPMHeaderTag(_BROKENMD5, "BROKENMD5");
215 public static final int _PREREQ = 1084;
216 public static final RPMHeaderTag PREREQ = new RPMHeaderTag(_PREREQ, "PREREQ");
217 public static final int _PREINPROG = 1085;
218 public static final RPMHeaderTag PREINPROG = new RPMHeaderTag(_PREINPROG, "PREINPROG");
219 public static final int _POSTINPROG = 1086;
220 public static final RPMHeaderTag POSTINPROG = new RPMHeaderTag(_POSTINPROG, "POSTINPROG");
221 public static final int _PREUNPROG = 1087;
222 public static final RPMHeaderTag PREUNPROG = new RPMHeaderTag(_PREUNPROG, "PREUNPROG");
223 public static final int _POSTUNPROG = 1088;
224 public static final RPMHeaderTag POSTUNPROG = new RPMHeaderTag(_POSTUNPROG, "POSTUNPROG");
225 public static final int _BUILDARCHS = 1089;
226 public static final RPMHeaderTag BUILDARCHS = new RPMHeaderTag(_BUILDARCHS, "BUILDARCHS");
227 public static final int _OBSOLETENAME = 1090;
228 public static final RPMHeaderTag OBSOLETENAME = new RPMHeaderTag(_OBSOLETENAME, "OBSOLETENAME");
229
230 public static final RPMHeaderTag OBSOLETES = new RPMHeaderTag(_OBSOLETENAME, "OBSOLETES");
231 public static final int _VERIFYSCRIPTPROG = 1091;
232 public static final RPMHeaderTag VERIFYSCRIPTPROG = new RPMHeaderTag(_VERIFYSCRIPTPROG, "VERIFYSCRIPTPROG");
233 public static final int _TRIGGERSCRIPTPROG = 1092;
234 public static final RPMHeaderTag TRIGGERSCRIPTPROG = new RPMHeaderTag(_TRIGGERSCRIPTPROG, "TRIGGERSCRIPTPROG");
235 public static final int _DOCDIR = 1093;
236 public static final RPMHeaderTag DOCDIR = new RPMHeaderTag(_DOCDIR, "DOCDIR");
237 public static final int _COOKIE = 1094;
238 public static final RPMHeaderTag COOKIE = new RPMHeaderTag(_COOKIE, "COOKIE");
239 public static final int _FILEDEVICES = 1095;
240 public static final RPMHeaderTag FILEDEVICES = new RPMHeaderTag(_FILEDEVICES, "FILEDEVICES");
241 public static final int _FILEINODES = 1096;
242 public static final RPMHeaderTag FILEINODES = new RPMHeaderTag(_FILEINODES, "FILEINODES");
243 public static final int _FILELANGS = 1097;
244 public static final RPMHeaderTag FILELANGS = new RPMHeaderTag(_FILELANGS, "FILELANGS");
245 public static final int _PREFIXES = 1098;
246 public static final RPMHeaderTag PREFIXES = new RPMHeaderTag(_PREFIXES, "PREFIXES");
247 public static final int _INSTPREFIXES = 1099;
248 public static final RPMHeaderTag INSTPREFIXES = new RPMHeaderTag(_INSTPREFIXES, "INSTPREFIXES");
249 public static final int _TRIGGERIN = 1100;
250 public static final RPMHeaderTag TRIGGERIN = new RPMHeaderTag(_TRIGGERIN, "TRIGGERIN");
251 public static final int _TRIGGERUN = 1101;
252 public static final RPMHeaderTag TRIGGERUN = new RPMHeaderTag(_TRIGGERUN, "TRIGGERUN");
253 public static final int _TRIGGERPOSTUN = 1102;
254 public static final RPMHeaderTag TRIGGERPOSTUN = new RPMHeaderTag(_TRIGGERPOSTUN, "TRIGGERPOSTUN");
255 public static final int _AUTOREQ = 1103;
256 public static final RPMHeaderTag AUTOREQ = new RPMHeaderTag(_AUTOREQ, "AUTOREQ");
257 public static final int _AUTOPROV = 1104;
258 public static final RPMHeaderTag AUTOPROV = new RPMHeaderTag(_AUTOPROV, "AUTOPROV");
259 public static final int _CAPABILITY = 1105;
260 public static final RPMHeaderTag CAPABILITY = new RPMHeaderTag(_CAPABILITY, "CAPABILITY");
261 public static final int _SOURCEPACKAGE = 1106;
262 public static final RPMHeaderTag SOURCEPACKAGE = new RPMHeaderTag(_SOURCEPACKAGE, "SOURCEPACKAGE");
263 public static final int _OLDORIGFILENAMES = 1107;
264 public static final RPMHeaderTag OLDORIGFILENAMES = new RPMHeaderTag(_OLDORIGFILENAMES, "OLDORIGFILENAMES");
265 public static final int _BUILDPREREQ = 1108;
266 public static final RPMHeaderTag BUILDPREREQ = new RPMHeaderTag(_BUILDPREREQ, "BUILDPREREQ");
267 public static final int _BUILDREQUIRES = 1109;
268 public static final RPMHeaderTag BUILDREQUIRES = new RPMHeaderTag(_BUILDREQUIRES, "BUILDREQUIRES");
269 public static final int _BUILDCONFLICTS = 1110;
270 public static final RPMHeaderTag BUILDCONFLICTS = new RPMHeaderTag(_BUILDCONFLICTS, "BUILDCONFLICTS");
271 public static final int _BUILDMACROS = 1111;
272 public static final RPMHeaderTag BUILDMACROS = new RPMHeaderTag(_BUILDMACROS, "BUILDMACROS");
273 public static final int _PROVIDEFLAGS = 1112;
274 public static final RPMHeaderTag PROVIDEFLAGS = new RPMHeaderTag(_PROVIDEFLAGS, "PROVIDEFLAGS");
275 public static final int _PROVIDEVERSION = 1113;
276 public static final RPMHeaderTag PROVIDEVERSION = new RPMHeaderTag(_PROVIDEVERSION, "PROVIDEVERSION");
277 public static final int _OBSOLETEFLAGS = 1114;
278 public static final RPMHeaderTag OBSOLETEFLAGS = new RPMHeaderTag(_OBSOLETEFLAGS, "OBSOLETEFLAGS");
279 public static final int _OBSOLETEVERSION = 1115;
280 public static final RPMHeaderTag OBSOLETEVERSION = new RPMHeaderTag(_OBSOLETEVERSION, "OBSOLETEVERSION");
281 public static final int _DIRINDEXES = 1116;
282 public static final RPMHeaderTag DIRINDEXES = new RPMHeaderTag(_DIRINDEXES, "DIRINDEXES");
283 public static final int _BASENAMES = 1117;
284 public static final RPMHeaderTag BASENAMES = new RPMHeaderTag(_BASENAMES, "BASENAMES");
285 public static final int _DIRNAMES = 1118;
286 public static final RPMHeaderTag DIRNAMES = new RPMHeaderTag(_DIRNAMES, "DIRNAMES");
287 public static final int _ORIGDIRINDEXES = 1119;
288 public static final RPMHeaderTag ORIGDIRINDEXES = new RPMHeaderTag(_ORIGDIRINDEXES, "ORIGDIRINDEXES");
289 public static final int _ORIGBASENAMES = 1120;
290 public static final RPMHeaderTag ORIGBASENAMES = new RPMHeaderTag(_ORIGBASENAMES, "ORIGBASENAMES");
291 public static final int _ORIGDIRNAMES = 1121;
292 public static final RPMHeaderTag ORIGDIRNAMES = new RPMHeaderTag(_ORIGDIRNAMES, "ORIGDIRNAMES");
293 public static final int _OPTFLAGS = 1122;
294 public static final RPMHeaderTag OPTFLAGS = new RPMHeaderTag(_OPTFLAGS, "OPTFLAGS");
295 public static final int _DISTURL = 1123;
296 public static final RPMHeaderTag DISTURL = new RPMHeaderTag(_DISTURL, "DISTURL");
297 public static final int _PAYLOADFORMAT = 1124;
298 public static final RPMHeaderTag PAYLOADFORMAT = new RPMHeaderTag(_PAYLOADFORMAT, "PAYLOADFORMAT");
299 public static final int _PAYLOADCOMPRESSOR = 1125;
300 public static final RPMHeaderTag PAYLOADCOMPRESSOR = new RPMHeaderTag(_PAYLOADCOMPRESSOR, "PAYLOADCOMPRESSOR");
301 public static final int _PAYLOADFLAGS = 1126;
302 public static final RPMHeaderTag PAYLOADFLAGS = new RPMHeaderTag(_PAYLOADFLAGS, "PAYLOADFLAGS");
303 public static final int _INSTALLCOLOR = 1127;
304 public static final RPMHeaderTag INSTALLCOLOR = new RPMHeaderTag(_INSTALLCOLOR, "INSTALLCOLOR");
305 public static final int _INSTALLTID = 1128;
306 public static final RPMHeaderTag INSTALLTID = new RPMHeaderTag(_INSTALLTID, "INSTALLTID");
307 public static final int _REMOVETID = 1129;
308 public static final RPMHeaderTag REMOVETID = new RPMHeaderTag(_REMOVETID, "REMOVETID");
309 public static final int _SHA1RHN = 1130;
310 public static final RPMHeaderTag SHA1RHN = new RPMHeaderTag(_SHA1RHN, "SHA1RHN");
311 public static final int _RHNPLATFORM = 1131;
312 public static final RPMHeaderTag RHNPLATFORM = new RPMHeaderTag(_RHNPLATFORM, "RHNPLATFORM");
313 public static final int _PLATFORM = 1132;
314 public static final RPMHeaderTag PLATFORM = new RPMHeaderTag(_PLATFORM, "PLATFORM");
315 public static final int _PATCHESNAME = 1133;
316 public static final RPMHeaderTag PATCHESNAME = new RPMHeaderTag(_PATCHESNAME, "PATCHESNAME");
317 public static final int _PATCHESFLAGS = 1134;
318 public static final RPMHeaderTag PATCHESFLAGS = new RPMHeaderTag(_PATCHESFLAGS, "PATCHESFLAGS");
319 public static final int _PATCHESVERSION = 1135;
320 public static final RPMHeaderTag PATCHESVERSION = new RPMHeaderTag(_PATCHESVERSION, "PATCHESVERSION");
321 public static final int _CACHECTIME = 1136;
322 public static final RPMHeaderTag CACHECTIME = new RPMHeaderTag(_CACHECTIME, "CACHECTIME");
323 public static final int _CACHEPKGPATH = 1137;
324 public static final RPMHeaderTag CACHEPKGPATH = new RPMHeaderTag(_CACHEPKGPATH, "CACHEPKGPATH");
325 public static final int _CACHEPKGSIZE = 1138;
326 public static final RPMHeaderTag CACHEPKGSIZE = new RPMHeaderTag(_CACHEPKGSIZE, "CACHEPKGSIZE");
327 public static final int _CACHEPKGMTIME = 1139;
328 public static final RPMHeaderTag CACHEPKGMTIME = new RPMHeaderTag(_CACHEPKGMTIME, "CACHEPKGMTIME");
329 public static final int _FILECOLORS = 1140;
330 public static final RPMHeaderTag FILECOLORS = new RPMHeaderTag(_FILECOLORS, "FILECOLORS");
331 public static final int _FILECLASS = 1141;
332 public static final RPMHeaderTag FILECLASS = new RPMHeaderTag(_FILECLASS, "FILECLASS");
333 public static final int _CLASSDICT = 1142;
334 public static final RPMHeaderTag CLASSDICT = new RPMHeaderTag(_CLASSDICT, "CLASSDICT");
335 public static final int _FILEDEPENDSX = 1143;
336 public static final RPMHeaderTag FILEDEPENDSX = new RPMHeaderTag(_FILEDEPENDSX, "FILEDEPENDSX");
337 public static final int _FILEDEPENDSN = 1144;
338 public static final RPMHeaderTag FILEDEPENDSN = new RPMHeaderTag(_FILEDEPENDSN, "FILEDEPENDSN");
339 public static final int _DEPENDSDICT = 1145;
340 public static final RPMHeaderTag DEPENDSDICT = new RPMHeaderTag(_DEPENDSDICT, "DEPENDSDICT");
341 public static final int _SOURCEPKGID = 1146;
342 public static final RPMHeaderTag SOURCEPKGID = new RPMHeaderTag(_SOURCEPKGID, "SOURCEPKGID");
343
344
345 public static final RPMHeaderTag MULTILIBS = new RPMHeaderTag(10000, "MULTILIBS");
346 public static final RPMHeaderTag FSSIZES = new RPMHeaderTag(10001, "FSSIZES");
347 public static final RPMHeaderTag FSNAMES = new RPMHeaderTag(10002, "FSNAMES");
348 public static final RPMHeaderTag FILENAMES = new RPMHeaderTag(10003, "FILENAMES");
349 public static final RPMHeaderTag TRIGGERCONDS = new RPMHeaderTag(10004, "TRIGGERCONDS");
350 public static final RPMHeaderTag TRIGGERTYPE = new RPMHeaderTag(10005, "TRIGGERTYPE");
351
352 private EnumIf delegate;
353
354 private RPMHeaderTag(int tag, String name) {
355 delegate = new EnumDelegate(RPMHeaderTag.class, tag, name, this);
356 }
357
358 /***
359 * Get a enum by id
360 *
361 * @param id The id of the enum
362 * @return The enum object
363 */
364 public static EnumIf getEnumById(long id) {
365 return EnumDelegate.getEnumById(RPMHeaderTag.class, id);
366 }
367
368 /***
369 * Get a enum by name
370 *
371 * @param name The name of the enum
372 * @return The enum object
373 */
374 public static EnumIf getEnumByName(String name) {
375 return EnumDelegate.getEnumByName(RPMHeaderTag.class, name);
376 }
377
378 /***
379 * Get all defined enums of this class
380 *
381 * @return An array of all defined enum objects
382 */
383 public static String[] getEnumNames() {
384 return EnumDelegate.getEnumNames(RPMHeaderTag.class);
385 }
386
387 /***
388 * Get a enum of this class by id
389 *
390 * @param tag The id
391 * @return The enum object
392 */
393 public static RPMHeaderTag getRPMHeaderTag(int tag) {
394 return (RPMHeaderTag) getEnumById(tag);
395 }
396
397 /***
398 * Check if this enum class contains a enum of a specified id
399 *
400 * @param id The id of the enum
401 * @return TRUE if the enum is defined in this class
402 */
403 public static boolean containsEnumId(Long id) {
404 return EnumDelegate.containsEnumId(RPMHeaderTag.class, id);
405 }
406
407
408
409
410 public long getId() {
411 return delegate.getId();
412 }
413
414
415
416
417 public String getName() {
418 return delegate.getName();
419 }
420
421
422
423
424 public String toString() {
425 return delegate.toString();
426 }
427 }