Package nl.knaw.dans.layerstore
Class Item
java.lang.Object
nl.knaw.dans.layerstore.Item
A file or directory in the layer store. It may be represented by multiple
ItemRecords in the database, one for each layer that contains the item. Note that to obtain the current (i.e.,
latest) content of a File item, you need to retrieve the ItemRecord with the highest layerId.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the item. -
Method Summary
-
Method Details
-
builder
-
getPath
The path of the item. The path is relative to the root of theItemStore. Note that directory paths should not end with a slash. -
getType
The type of the item. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-