Class JsonElementType
- java.lang.Object
-
- org.pentaho.metastore.api.BaseElementType
-
- org.pentaho.di.core.attributes.metastore.JsonElementType
-
- All Implemented Interfaces:
org.pentaho.metastore.api.IMetaStoreElementType
public abstract class JsonElementType extends org.pentaho.metastore.api.BaseElementType
- Author:
- nhudak
-
-
Constructor Summary
Constructors Constructor Description JsonElementType(String namespace)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonElementType
from(org.pentaho.metastore.api.IMetaStoreElementType elementType)
String
getId()
String
groupName()
static String
groupName(String namespace)
String
jsonValue()
String
key()
JsonElementType
load(String jsonData)
-
Methods inherited from class org.pentaho.metastore.api.BaseElementType
copyFrom, getDescription, getMetaStoreName, getName, getNamespace, setDescription, setId, setMetaStoreName, setName, setNamespace
-
-
-
-
Constructor Detail
-
JsonElementType
public JsonElementType(String namespace)
-
-
Method Detail
-
from
public static JsonElementType from(org.pentaho.metastore.api.IMetaStoreElementType elementType)
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.pentaho.metastore.api.IMetaStoreElementType
- Overrides:
getId
in classorg.pentaho.metastore.api.BaseElementType
-
groupName
public String groupName()
-
key
public String key()
-
jsonValue
public String jsonValue() throws IOException
- Throws:
IOException
-
load
public JsonElementType load(String jsonData) throws IOException
- Throws:
IOException
-
-