org.openrdf.http.object.behaviours
Class VersionedObjectSupport

java.lang.Object
  extended by org.openrdf.http.object.behaviours.VersionedObjectSupport
All Implemented Interfaces:
VersionedObject, RDFObject

public abstract class VersionedObjectSupport
extends Object
implements VersionedObject, RDFObject

Causes this object's revision to be increased, even if no triples are modified.


Field Summary
 
Fields inherited from interface org.openrdf.repository.object.RDFObject
GET_CONNECTION, GET_RESOURCE
 
Constructor Summary
VersionedObjectSupport()
           
 
Method Summary
 String revision()
           
 String revisionTag(int code)
           
 void touchRevision()
           
 String variantTag(String mediaType, int code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.http.object.traits.VersionedObject
getRevision, setRevision
 
Methods inherited from interface org.openrdf.repository.object.RDFObject
getObjectConnection, getResource
 

Constructor Detail

VersionedObjectSupport

public VersionedObjectSupport()
Method Detail

touchRevision

public void touchRevision()
Specified by:
touchRevision in interface VersionedObject

revision

public String revision()
Specified by:
revision in interface VersionedObject

revisionTag

public String revisionTag(int code)
Specified by:
revisionTag in interface VersionedObject

variantTag

public String variantTag(String mediaType,
                         int code)
Specified by:
variantTag in interface VersionedObject


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.