Class CustomElementsFactory
java.lang.Object
com.denodo.common.custom.elements.CustomElementsFactory
Deprecated.
This class allows the user to create instances of Custom types and values like
CustomArrayType, CustomArrayValue, CustomRecordType
and CustomRecordValue.- Since:
- 4.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCustomArrayType(String arrayName, CustomRecordType arrayType) Deprecated.Factory method to instantiate aCustomArrayType.createCustomArrayValue(List<CustomRecordValue> values) Deprecated.Factory method to instantiate aCustomArrayValue.createCustomRecordArray(LinkedHashMap<String, Object> properties) Deprecated.Factory method to instantiate aCustomRecordValue.createCustomRecordType(String recordName, LinkedHashMap<String, Object> properties) Deprecated.Factory method to instantiate aCustomRecordValue.
-
Constructor Details
-
CustomElementsFactory
public CustomElementsFactory()Deprecated.
-
-
Method Details
-
createCustomArrayType
Deprecated.Factory method to instantiate aCustomArrayType.- Parameters:
arrayName- Name of the type.arrayType- Type that this array will represent a list of.- Returns:
- The created type.
-
createCustomArrayValue
Deprecated.Factory method to instantiate aCustomArrayValue.- Parameters:
values- List of records stored in the array.- Returns:
- The created value.
-
createCustomRecordType
public CustomRecordType createCustomRecordType(String recordName, LinkedHashMap<String, Object> properties) Deprecated.Factory method to instantiate aCustomRecordValue.- Parameters:
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.- Returns:
- The created type.
-
createCustomRecordArray
Deprecated.Factory method to instantiate aCustomRecordValue.- Parameters:
properties- The field values for the new record. The map key stores the field name and the object is the field value.- Returns:
- The created value
-
CustomElementsUtilinstead.