public class HLMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<org.gcube.common.storagehub.model.items.nodes.accounting.AccountEntry,AccountingEntry> |
toAccountingEntry |
| Constructor and Description |
|---|
HLMapper() |
| Modifier and Type | Method and Description |
|---|---|
static List<AccountingEntry> |
toAccountingEntries(org.gcube.common.storagehub.model.items.Item item)
To accounting entries.
|
static PropertyMap |
toPropertyMap(org.gcube.common.storagehub.model.items.Item item)
To property map.
|
static <T extends WorkspaceItem> |
toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item)
To workspace item.
|
static <T extends WorkspaceItem> |
toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
To workspace item.
|
public static java.util.function.Function<org.gcube.common.storagehub.model.items.nodes.accounting.AccountEntry,AccountingEntry> toAccountingEntry
public static <T extends WorkspaceItem> T toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item)
T - the generic typeitem - the itempublic static List<AccountingEntry> toAccountingEntries(org.gcube.common.storagehub.model.items.Item item)
item - the itempublic static PropertyMap toPropertyMap(org.gcube.common.storagehub.model.items.Item item)
item - the itempublic static <T extends WorkspaceItem> T toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item, boolean withAccounting, boolean withFileDetails, boolean withMapProperties)
T - the generic typeitem - the itemCopyright © 2018. All Rights Reserved.