source: trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/metadata/METSFileID.java@ 7466

Last change on this file since 7466 was 5800, checked in by cs025, 21 years ago

Adding gs3build

  • Property svn:keywords set to Author Date Id Revision
File size: 350 bytes
Line 
1package org.greenstone.gsdl3.gs3build.metadata;
2
3/**
4 * A type-safe wrapper for METS File identifiers.
5 */
6
7public class METSFileID
8{ String id;
9
10 public METSFileID()
11 { this.id = null;
12 }
13
14 public METSFileID(String id)
15 { this.id = id;
16 }
17
18 public String toString()
19 { return this.id;
20 }
21
22 public boolean isDefined()
23 { return this.id != null;
24 }
25}
Note: See TracBrowser for help on using the repository browser.