Package ru.moysklad.remap_1_2.utils
Class MetaHrefUtils
- java.lang.Object
-
- ru.moysklad.remap_1_2.utils.MetaHrefUtils
-
public final class MetaHrefUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MetaHrefUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends MetaEntity>
TfillMeta(T entity, String host)static StringgetCustomDictionaryIdFromHref(String href)static Optional<String>getIdFromHref(String href)static <T extends MetaEntity>
StringmakeHref(Meta.Type type, T entity, String host)static <T extends MetaEntity>
StringmakeMetadataHref(Meta.Type type, T entity, String host)static <T extends MetaEntity>
StringmakeRoleHref(String name, String host)
-
-
-
Method Detail
-
makeHref
public static <T extends MetaEntity> String makeHref(Meta.Type type, T entity, String host)
-
makeMetadataHref
public static <T extends MetaEntity> String makeMetadataHref(Meta.Type type, T entity, String host)
-
makeRoleHref
public static <T extends MetaEntity> String makeRoleHref(String name, String host)
-
fillMeta
public static <T extends MetaEntity> T fillMeta(T entity, String host)
-
-