CustomElementsUtil
instead.public final class CustomElementsFactory extends Object
CustomArrayType
, CustomArrayValue
, CustomRecordType
and CustomRecordValue
.Constructor and Description |
---|
CustomElementsFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CustomArrayType |
createCustomArrayType(String arrayName,
CustomRecordType arrayType)
Deprecated.
Factory method to instantiate a
CustomArrayType . |
CustomArrayValue |
createCustomArrayValue(List<CustomRecordValue> values)
Deprecated.
Factory method to instantiate a
CustomArrayValue . |
CustomRecordValue |
createCustomRecordArray(LinkedHashMap<String,Object> properties)
Deprecated.
Factory method to instantiate a
CustomRecordValue . |
CustomRecordType |
createCustomRecordType(String recordName,
LinkedHashMap<String,Object> properties)
Deprecated.
Factory method to instantiate a
CustomRecordValue . |
public CustomArrayType createCustomArrayType(String arrayName, CustomRecordType arrayType)
CustomArrayType
.arrayName
- Name of the type.arrayType
- Type that this array will represent a list of.public CustomArrayValue createCustomArrayValue(List<CustomRecordValue> values)
CustomArrayValue
.values
- List of records stored in the array.public CustomRecordType createCustomRecordType(String recordName, LinkedHashMap<String,Object> properties)
CustomRecordValue
.recordName
- Name of the type.properties
- Fields for the new record. The map key stores
the field name and the Object is the field type.public CustomRecordValue createCustomRecordArray(LinkedHashMap<String,Object> properties)
CustomRecordValue
.properties
- The field values for the new record. The map key stores
the field name and the object is the field value.Copyright © 2019 Denodo Technologies. All rights reserved.