Mercurial > hg > mpdl-group
comparison software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/externalObjects/app/ExtObject.java @ 9:1ec29fdd0db8
neue .lex Dateien f?r Normalisierung / externe Objekte update
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 22 Feb 2011 16:03:45 +0100 |
parents | 2396a569e446 |
children | 5df60f24e997 |
comparison
equal
deleted
inserted
replaced
8:d2a1c14fde31 | 9:1ec29fdd0db8 |
---|---|
1 package de.mpg.mpiwg.berlin.mpdl.externalObjects.app; | 1 package de.mpg.mpiwg.berlin.mpdl.externalObjects.app; |
2 | 2 |
3 import java.util.Date; | 3 import java.util.Date; |
4 | 4 |
5 import de.mpg.mpiwg.berlin.mpdl.exception.ApplicationException; | |
6 | |
5 public class ExtObject { | 7 public class ExtObject { |
8 protected String type; // is set by subclass: element, query, ... | |
6 protected String uid; | 9 protected String uid; |
7 protected Date modificationDate; | 10 protected Date modificationDate; |
8 protected String documentId; | 11 protected String documentId; |
9 protected String content; | 12 protected String content; |
13 | |
14 public String getXmlString() { | |
15 return null; // always handled in subclass | |
16 } | |
17 | |
18 public ExtObject getInstance(String xmlStr) throws ApplicationException { | |
19 return null; // always handled in subclass | |
20 } | |
21 | |
22 public String getType() { | |
23 return type; | |
24 } | |
10 | 25 |
11 public String getUid() { | 26 public String getUid() { |
12 return uid; | 27 return uid; |
13 } | 28 } |
14 | 29 |