Class ReferenceFieldInfo

  • All Implemented Interfaces:
    FieldHandlerIF, FieldInfoIF

    public class ReferenceFieldInfo
    extends AbstractFieldInfo
    INTERNAL: A field that references objects. A reference field is a field that references the identity of instances of a descriptor class. It is also known as a foreign key field.

    A reference field is a composite of one or more fields that together references the identity of an instance of a descriptor class. The number of fields and the types of those fields must match the identity fields of the referenced descriptor class.

    • Field Detail

      • value_columns

        protected String[] value_columns
      • column_count

        protected int column_count
    • Method Detail

      • getValueClassInfo

        public ClassInfoIF getValueClassInfo()
        Description copied from interface: FieldInfoIF
        INTERNAL: Gets the class info for the field's value type. Note that primitive value classes don't have a class info.
      • getColumnCount

        public int getColumnCount()
        Description copied from interface: FieldHandlerIF
        INTERNAL: Returns the number of columns that the field spans.
      • isIdentityField

        public boolean isIdentityField()
        Description copied from interface: FieldHandlerIF
        INTERNAL: Returns true if the field handler references an object identity field.
      • getValueColumns

        public String[] getValueColumns()
        Description copied from interface: FieldInfoIF
        INTERNAL: Returns the names of the columns that the field spans.
      • retrieveFieldValues

        public void retrieveFieldValues​(Object value,
                                        List<Object> field_values)