|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater
public static class ERXGenericRecord.InverseRelationshipUpdater
Provides automatic inverse relationship updating for ERXGenericRecord and ERXCustomObject.
Properties | |
er.extensions.ERXEnterpriseObject.updateInverseRelationships | if true, inverse relationships are automatically updated |
Constructor Summary | |
---|---|
ERXGenericRecord.InverseRelationshipUpdater()
|
Method Summary | |
---|---|
static void |
excludeObjectFromPropertyWithKey(ERXEnterpriseObject object,
java.lang.Object value,
java.lang.String key)
Called from eo.excludeObjectFromPropertyWithKey. |
static void |
includeObjectIntoPropertyWithKey(ERXEnterpriseObject object,
java.lang.Object value,
java.lang.String key)
Called from eo.includeObjectIntoPropertyWithKey. |
static void |
setUpdateInverseRelationships(boolean updateInverseRelationships)
Toggles the global setting for updating inverse relationships. |
static void |
takeStoredValueForKey(ERXEnterpriseObject object,
java.lang.Object value,
java.lang.String key)
Called from eo.takeValueForKey. |
static boolean |
updateInverseRelationships()
Returns whether or not inverse relationships are automatically updated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERXGenericRecord.InverseRelationshipUpdater()
Method Detail |
---|
public static void setUpdateInverseRelationships(boolean updateInverseRelationships)
updateInverseRelationships
- if true, inverse relationships are automatically updatedpublic static boolean updateInverseRelationships()
public static void includeObjectIntoPropertyWithKey(ERXEnterpriseObject object, java.lang.Object value, java.lang.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, java.lang.Object value, java.lang.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, java.lang.Object value, java.lang.String key)
object
- the object being updatedvalue
- the value to set on the keykey
- the name of the key to update
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |