ncsa.tools.trebuchet.core.data
Class ListEntry

java.lang.Object
  extended byncsa.tools.trebuchet.core.data.CacheEntry
      extended byncsa.tools.trebuchet.core.data.ReverseLookupEntry
          extended byncsa.tools.trebuchet.core.data.ListEntry

public final class ListEntry
extends ReverseLookupEntry


Field Summary
static int[] FIXED_LENGTH_BYTES
           
static int HEADER_LENGTH
           
static int NUM_PROPS_BYTE
           
static int PROP_VAL_OFFSET
           
 
Constructor Summary
ListEntry()
           
ListEntry(java.nio.ByteBuffer buffer)
           
 
Method Summary
 java.lang.Integer getDepth()
          Should return the depth of the entry, or null if not relevant.
 int getLinks()
           
 Permissions getMode()
           
 Owner getOwner()
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String[] getPropertyValues()
           
 RelativeUriPath getRelativePath()
           
 long getSize()
           
 ParsedTimestamp getTimestamp()
           
 int length()
           
 void setLinks(int links)
           
 void setMode(Permissions mode)
           
 void setOwner(Owner owner)
           
 void setPropertyNames(java.lang.String[] propertyNames)
           
 void setPropertyValues(java.lang.String[] propertyValues)
           
 void setRelativePath(RelativeUriPath relativePath)
           
 void setSize(long size)
           
 void setTimestamp(ParsedTimestamp timestamp)
           
 void toBuffer(java.nio.ByteBuffer buffer)
           
 FileMetadata toFileMetadata(java.net.URI base)
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 java.lang.String toUnixLSL()
           
 
Methods inherited from class ncsa.tools.trebuchet.core.data.ReverseLookupEntry
getPreviousId, getType, setPreviousId, setType, succeeded
 
Methods inherited from class ncsa.tools.trebuchet.core.data.CacheEntry
getEntryId, getStatus, setEntryId, setStatus, toBuffer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIXED_LENGTH_BYTES

public static final int[] FIXED_LENGTH_BYTES

NUM_PROPS_BYTE

public static final int NUM_PROPS_BYTE
See Also:
Constant Field Values

HEADER_LENGTH

public static final int HEADER_LENGTH
See Also:
Constant Field Values

PROP_VAL_OFFSET

public static final int PROP_VAL_OFFSET
See Also:
Constant Field Values
Constructor Detail

ListEntry

public ListEntry()

ListEntry

public ListEntry(java.nio.ByteBuffer buffer)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ReverseLookupEntry

toShortString

public java.lang.String toShortString()
Overrides:
toShortString in class CacheEntry

toFileMetadata

public FileMetadata toFileMetadata(java.net.URI base)
                            throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

toUnixLSL

public java.lang.String toUnixLSL()

toBuffer

public void toBuffer(java.nio.ByteBuffer buffer)
Overrides:
toBuffer in class ReverseLookupEntry

length

public int length()
Specified by:
length in class CacheEntry

getDepth

public java.lang.Integer getDepth()
Description copied from class: CacheEntry
Should return the depth of the entry, or null if not relevant.

Specified by:
getDepth in class CacheEntry

getOwner

public Owner getOwner()

setOwner

public void setOwner(Owner owner)

getLinks

public int getLinks()

setLinks

public void setLinks(int links)

getMode

public Permissions getMode()

setMode

public void setMode(Permissions mode)

getPropertyNames

public java.lang.String[] getPropertyNames()

setPropertyNames

public void setPropertyNames(java.lang.String[] propertyNames)

getPropertyValues

public java.lang.String[] getPropertyValues()

setPropertyValues

public void setPropertyValues(java.lang.String[] propertyValues)

getRelativePath

public RelativeUriPath getRelativePath()

setRelativePath

public void setRelativePath(RelativeUriPath relativePath)

getSize

public long getSize()

setSize

public void setSize(long size)

getTimestamp

public ParsedTimestamp getTimestamp()

setTimestamp

public void setTimestamp(ParsedTimestamp timestamp)