Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.core.objectmanagement.member.MendixObjectReference Class Reference

Inherits MendixObjectMember< IMendixIdentifier >.

List of all members.

Public Member Functions

 MendixObjectReference (String name, String referenceType, boolean isBoth)
final String getReferenceType (IContext context)
void setValue (IContext context, IMendixIdentifier value)
void setInitialValue (IMendixIdentifier value)
boolean isBoth (IContext context)
void setBothValue (IContext context, IMendixIdentifier value)
IMendixIdentifier getValueFromString (String s)
void parseValueFromString (IContext context, String s)
String parseValueToString (IContext context)

Detailed Description

Member representing a reference to another object
This member cannot be virtual


Constructor & Destructor Documentation

com.mendix.core.objectmanagement.member.MendixObjectReference.MendixObjectReference ( String  name,
String  referenceType,
boolean  isBoth 
)

Creates MendixObjectReference for given referenceType

Parameters:
namethe name of the reference
referenceTypethe type of object this reference refers to
isBothboolean indicating whether the reference owner is of type both

Member Function Documentation

final String com.mendix.core.objectmanagement.member.MendixObjectReference.getReferenceType ( IContext  context)
Returns:
the referenceType
IMendixIdentifier com.mendix.core.objectmanagement.member.MendixObjectReference.getValueFromString ( String  s)
Parameters:
sthe string
Returns:
the identifier constructed from the string
boolean com.mendix.core.objectmanagement.member.MendixObjectReference.isBoth ( IContext  context)
Parameters:
context
Returns:
whether the reference owner is of type both
void com.mendix.core.objectmanagement.member.MendixObjectReference.parseValueFromString ( IContext  context,
String  s 
)

Parse value of this ObjectMember from a String

Parameters:
context
s
String com.mendix.core.objectmanagement.member.MendixObjectReference.parseValueToString ( IContext  context)
void com.mendix.core.objectmanagement.member.MendixObjectReference.setBothValue ( IContext  context,
IMendixIdentifier  value 
)
Parameters:
context
valuethe value to set
void com.mendix.core.objectmanagement.member.MendixObjectReference.setInitialValue ( IMendixIdentifier  value)
Parameters:
valuethe initial value
void com.mendix.core.objectmanagement.member.MendixObjectReference.setValue ( IContext  context,
IMendixIdentifier  value 
)

The documentation for this class was generated from the following file: