Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Inherits MendixObjectMember< List< IMendixIdentifier > >.
Member representing a reference to a set of other objects
This member cannot be virtual.
TODO: monitor changes per id instead this member at whole.
com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.MendixObjectReferenceSet | ( | String | name, |
String | referenceType, | ||
boolean | isBoth | ||
) |
Creates MendixObjectReferenceSet for given referenceType
name | the name of the reference set |
referenceType | the type of object this reference refers to |
isBoth | boolean indicating whether the reference owner is of type both |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.addValue | ( | IContext | context, |
IMendixIdentifier | id | ||
) |
Adds value to referenceSet
context | |
id |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.clearAddedIds | ( | ) |
clears added ids
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.clearRemovedIds | ( | ) |
clear removes ids
MendixObjectReferenceSet com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.clone | ( | ) | throws CloneNotSupportedException [protected] |
boolean com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.contains | ( | IContext | context, |
IMendixIdentifier | id | ||
) |
Check if the given IMendixIdentifier exists in this reference set
context | |
id |
CoreException |
List<IMendixIdentifier> com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getAddedIds | ( | IContext | context | ) |
context |
final String com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getReferenceType | ( | IContext | context | ) |
List<IMendixIdentifier> com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getRemovedIds | ( | IContext | context | ) |
context |
List<IMendixIdentifier> com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getValue | ( | IContext | context | ) |
IMendixIdentifier com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getValue | ( | IContext | context, |
int | index | ||
) |
Returns the identifier of the referenced object on the given index
context | |
index |
CoreException |
List<IMendixIdentifier> com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.getValueFromString | ( | String | s | ) |
s | the string |
boolean com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.isBoth | ( | IContext | context | ) |
context |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.parseValueFromString | ( | IContext | context, |
String | s | ||
) |
Parse value of this ObjectMember from a String
context | |
s | a string representing a JSONArray -> [123345,123345,345666] |
String com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.parseValueToString | ( | IContext | context | ) |
boolean com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.remove | ( | IContext | context, |
IMendixIdentifier | id | ||
) |
Removes the given IMendixIdentifier from this reference set
context | |
id |
CoreException |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.setBothAddedValue | ( | IContext | context, |
IMendixIdentifier | valueInstance | ||
) |
Set value for both relation
context | |
valueInstance |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.setBothRemovedValue | ( | IContext | context, |
IMendixIdentifier | valueInstance | ||
) |
Set value for both relation
context | |
valueInstance |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.setInitialValue | ( | List< IMendixIdentifier > | ids | ) |
void com.mendix.core.objectmanagement.member.MendixObjectReferenceSet.setValue | ( | IContext | context, |
List< IMendixIdentifier > | value | ||
) |