Interface MendixObjectReference

All Superinterfaces:
IMendixObjectMember<IMendixIdentifier>

public interface MendixObjectReference extends IMendixObjectMember<IMendixIdentifier>
Provides the interface for a Mendix association with type Reference.
  • Method Details

    • referenceType

      String referenceType()
      Returns the entity type of the referenced object.
      Returns:
      the name of the referenced entity
    • isBoth

      Boolean isBoth()
      Returns whether this association has Owner set to Both.
      Returns:
      True if Owner is Both; false if it is Default
    • setValueFromDeserialization

      @Deprecated void setValueFromDeserialization(IContext context, IMendixIdentifier id)
      Deprecated.
      since 9.7.0. This method was exposed for internal purposes. There is no replacement.
      For internal usage only.
      Parameters:
      context - the context for accessing the association
      id - the Mendix identifier of the referenced object to set
    • getValueFromString

      IMendixIdentifier getValueFromString(String stringValue)
      If stringValue is null or empty return null otherwise, parse stringValue as a Long value using Long.parseLong(String) and create an IMendixIdentifier with that numeric value.
      Specified by:
      getValueFromString in interface IMendixObjectMember<IMendixIdentifier>
      Parameters:
      stringValue - the string to parse
      Returns:
      the parsed value