net.fortytwo.linkeddata
Class CacheEntry

java.lang.Object
  extended by net.fortytwo.linkeddata.CacheEntry

public class CacheEntry
extends Object

Author:
Joshua Shinavier (http://fortytwo.net)

Nested Class Summary
static class CacheEntry.Status
           
 
Constructor Summary
CacheEntry()
           
CacheEntry(CacheEntry.Status status)
           
CacheEntry(String keyValues)
          Constructs a cache entry from a set of key/value pairs
 
Method Summary
 String getDereferencer()
           
 Map<String,String> getKeyValues()
           
 org.restlet.data.MediaType getMediaType()
           
 String getRdfizer()
           
 CacheEntry.Status getStatus()
           
 Date getTimestamp()
           
 void setDereferencer(String dref)
           
 void setMediaType(org.restlet.data.MediaType mt)
           
 void setRdfizer(String rfiz)
           
 void setStatus(CacheEntry.Status status)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheEntry

public CacheEntry()

CacheEntry

public CacheEntry(CacheEntry.Status status)

CacheEntry

public CacheEntry(String keyValues)
           throws net.fortytwo.ripple.RippleException
Constructs a cache entry from a set of key/value pairs

Parameters:
keyValues - the key/value pairs defining the entry
Throws:
net.fortytwo.ripple.RippleException - if a parse error occurs
Method Detail

getDereferencer

public String getDereferencer()

getRdfizer

public String getRdfizer()

getTimestamp

public Date getTimestamp()

getMediaType

public org.restlet.data.MediaType getMediaType()

getKeyValues

public Map<String,String> getKeyValues()

toString

public String toString()
Overrides:
toString in class Object
Returns:
the compact, parseable string representation of this memo

getStatus

public CacheEntry.Status getStatus()

setStatus

public void setStatus(CacheEntry.Status status)

setMediaType

public void setMediaType(org.restlet.data.MediaType mt)

setDereferencer

public void setDereferencer(String dref)

setRdfizer

public void setRdfizer(String rfiz)


Copyright © 2007-2013. All Rights Reserved.