public static class ERXGenericRecord.InverseRelationshipUpdater extends Object
Name | Description |
---|---|
er.extensions.ERXEnterpriseObject.updateInverseRelationships | if true, inverse relationships are automatically updated |
Modifier and Type | Field and Description |
---|---|
protected static boolean |
updateInverseRelationships |
Constructor and Description |
---|
InverseRelationshipUpdater() |
Modifier and Type | Method and Description |
---|---|
static void |
excludeObjectFromPropertyWithKey(ERXEnterpriseObject object,
Object value,
String key)
Called from eo.excludeObjectFromPropertyWithKey.
|
static void |
includeObjectIntoPropertyWithKey(ERXEnterpriseObject object,
Object value,
String key)
Called from eo.includeObjectIntoPropertyWithKey.
|
static void |
setUpdateInverseRelationships(boolean value)
Toggles the global setting for updating inverse relationships.
|
static void |
takeStoredValueForKey(ERXEnterpriseObject object,
Object value,
String key)
Called from eo.takeValueForKey.
|
static boolean |
updateInverseRelationships()
Returns whether or not inverse relationships are automatically updated.
|
public static void setUpdateInverseRelationships(boolean value)
value
- if true, inverse relationships are automatically updatedpublic static boolean updateInverseRelationships()
public static void includeObjectIntoPropertyWithKey(ERXEnterpriseObject object, Object value, String key)
object
- the object being updatedvalue
- the value to include in the relationshipkey
- the name of the relationship to updatepublic static void excludeObjectFromPropertyWithKey(ERXEnterpriseObject object, Object value, String key)
object
- the object being updatedvalue
- the value to remove from the relationshipkey
- the name of the relationship to updatepublic static void takeStoredValueForKey(ERXEnterpriseObject object, Object value, String key)
object
- the object being updatedvalue
- the value to set on the keykey
- the name of the key to updateCopyright © 2002 – 2024 Project Wonder.