se.kmr.scam.rdf.vocabulary
Class Annotation

java.lang.Object
  extended byse.kmr.scam.rdf.vocabulary.Annotation

public class Annotation
extends Object

Version:
$Revision: 1.4 $
Author:
Jöran
Created:
den 16 april 2003

Field Summary
static Property annotates
           
static Resource Annotation
           
static Property author
           
static Property body
           
static Property context
           
static Property created
           
static String DATEPATTERN
           
static Property hasAnnotation
           
static Property modified
           
static String namespace
           
static Property related
           
 
Constructor Summary
Annotation()
           
 
Method Summary
static Model setCreated(Resource resource, Model model)
          Set creation date for a resource, in a model, to today.
static Model setModified(Resource resource, Model model)
          Set modified date for a resource, in a model, to today.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespace

public static final String namespace
See Also:
Constant Field Values

DATEPATTERN

public static final String DATEPATTERN
See Also:
Constant Field Values

Annotation

public static Resource Annotation

annotates

public static Property annotates

hasAnnotation

public static Property hasAnnotation

context

public static Property context

body

public static Property body

author

public static Property author

created

public static Property created

modified

public static Property modified

related

public static Property related
Constructor Detail

Annotation

public Annotation()
Method Detail

setCreated

public static Model setCreated(Resource resource,
                               Model model)
Set creation date for a resource, in a model, to today.

Parameters:
resource - associate the date to this resource
model - set date in this model
Returns:
an updated model

setModified

public static Model setModified(Resource resource,
                                Model model)
Set modified date for a resource, in a model, to today.

Parameters:
resource - associate the date to this resource
model - set date in this model
Returns:
an updated model


Copyright © 2003 SCAM. All Rights Reserved.