Interface CustomRecordValue
public interface CustomRecordValue
This class represents a register in the Denodo Platform values structure.
Each record has a number of properties
CustomRecordValue.Property representing the
fields of the register in the Denodo Platform products.- Since:
- 4.6
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceObject containing the name and value a record's single property. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, Object value) Adds a new value to the record.getProperty(String name) Returns the value of the given property.voidremoveProperty(String name) Removes the property of the current record value.voidsetProperty(String name, Object value) Adds a new value to the record.intsize()Returns the number of properties in the record value.
-
Method Details
-
getProperties
Collection<CustomRecordValue.Property> getProperties() -
getProperty
Returns the value of the given property. This value can be aCustomRecordValue, aCustomArrayValueor anObjectderived of a native type.- Parameters:
name- The name of the property to obtain.- Returns:
- the value of the given property.
-
addProperty
Adds a new value to the record. If the property is already defined in this record, nothing is done.- Parameters:
name- Name of the property to add.value- Value of the property to add.
-
setProperty
Adds a new value to the record. If the property is already defined in this record, the previous one is replaced by the specified in the method.- Parameters:
name- Name of the property to set.value- Value of the property to set.
-
removeProperty
Removes the property of the current record value.- Parameters:
name- name of the property to be removed.
-
size
int size()Returns the number of properties in the record value.- Returns:
- the number of properties in the record value.
-