view 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
line wrap: on
line source

package de.mpg.mpiwg.berlin.mpdl.externalObjects.app;

import java.util.Date;

import de.mpg.mpiwg.berlin.mpdl.exception.ApplicationException;

public class ExtObject {
  protected String type; // is set by subclass: element, query, ...
  protected String uid;
  protected Date modificationDate;
  protected String documentId;
  protected String content;

  public String getXmlString() {
    return null; // always handled in subclass  
  }
  
  public ExtObject getInstance(String xmlStr) throws ApplicationException {
    return null; // always handled in subclass  
  }
  
  public String getType() {
    return type;
  }

  public String getUid() {
    return uid;
  }

  public void setUid(String uid) {
    this.uid = uid;
  }

  public Date getModificationDate() {
    return modificationDate;
  }

  public void setModificationDate(Date modificationDate) {
    this.modificationDate = modificationDate;
  }

  public String getDocumentId() {
    return documentId;
  }

  public void setDocumentId(String documentId) {
    this.documentId = documentId;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

}