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
    • 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