use of org.pentaho.di.repository.kdr.delegates.metastore.KDBRMetaStoreElementType in project pentaho-kettle by pentaho.
the class KettleDatabaseRepositoryMetaStoreDelegate method parseElementType.
public KDBRMetaStoreElementType parseElementType(String namespace, ObjectId namespaceId, RowMetaAndData elementTypeRow) throws KettleValueException {
Long id = elementTypeRow.getInteger(KettleDatabaseRepository.FIELD_ELEMENT_TYPE_ID_ELEMENT_TYPE);
String name = elementTypeRow.getString(KettleDatabaseRepository.FIELD_ELEMENT_TYPE_NAME, null);
String description = elementTypeRow.getString(KettleDatabaseRepository.FIELD_ELEMENT_TYPE_DESCRIPTION, null);
KDBRMetaStoreElementType type = new KDBRMetaStoreElementType(this, namespace, namespaceId, name, description);
type.setId(new LongObjectId(id));
return type;
}
Aggregations