Last change
on this file since 12188 was 12188, checked in by kjdon, 18 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
416 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.metadata;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * A type-safe wrapper for METS File identifiers.
|
---|
5 | */
|
---|
6 |
|
---|
7 | public class METSFileID
|
---|
8 | {
|
---|
9 | String id;
|
---|
10 |
|
---|
11 | public METSFileID()
|
---|
12 | {
|
---|
13 | this.id = null;
|
---|
14 | }
|
---|
15 |
|
---|
16 | public METSFileID(String id)
|
---|
17 | {
|
---|
18 | this.id = id;
|
---|
19 | }
|
---|
20 |
|
---|
21 | public String toString()
|
---|
22 | {
|
---|
23 | return this.id;
|
---|
24 | }
|
---|
25 |
|
---|
26 | public boolean isDefined()
|
---|
27 | {
|
---|
28 | return this.id != null;
|
---|
29 | }
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.