Last change
on this file since 8699 was 8699, checked in by chi, 20 years ago |
Change program layout
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
416 bytes
|
Rev | Line | |
---|
[5800] | 1 | package org.greenstone.gsdl3.gs3build.metadata;
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * A type-safe wrapper for METS File identifiers.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | public class METSFileID
|
---|
[8699] | 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.