Class OcflLayout
- java.lang.Object
-
- edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
-
public class OcflLayout extends Object
This class is a representation of the ocfl_layout.json file.
-
-
Constructor Summary
Constructors Constructor Description OcflLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetExtension()OcflLayoutsetDescription(String description)Sets the human-readable description of the layoutOcflLayoutsetExtension(String extension)Sets the storage layout extension keyStringtoString()
-
-
-
Method Detail
-
getExtension
public String getExtension()
- Returns:
- the storage layout extension key
-
setExtension
public OcflLayout setExtension(String extension)
Sets the storage layout extension key- Parameters:
extension- storage layout extension key- Returns:
- this
-
getDescription
public String getDescription()
- Returns:
- human-readable description of the layout
-
setDescription
public OcflLayout setDescription(String description)
Sets the human-readable description of the layout- Parameters:
description- human-readable description of the layout- Returns:
- this
-
-