Commit 980797bf authored by R.W.Majeed's avatar R.W.Majeed
Browse files

allow timestamp info

parent 85e82b67
......@@ -6,6 +6,8 @@ import org.aktin.cda.CDASummary;
public class Descriptor implements CDASummary {
private String docId;
Date lastModified;
Date created;
public Descriptor(String docId){
this.docId = docId;
......@@ -17,14 +19,12 @@ public class Descriptor implements CDASummary {
@Override
public Date getLastModified() {
// TODO Auto-generated method stub
return null;
return lastModified;
}
@Override
public Date getCreated() {
// TODO Auto-generated method stub
return null;
return created;
}
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment