Package | Description |
---|---|
er.extensions.eof |
Modifier and Type | Interface and Description |
---|---|
interface |
ERXCopyable<T extends ERXCopyable<T>>
This class specifies an interface for flexible copying of
EOEnterpriseObject s, a default implementation for doing the actual
copying, and a Utility class that provides convenience methods to make
implementing the interface easier. |
Modifier and Type | Method and Description |
---|---|
static <T extends ERXCopyable<T>> |
ERXCopyable.DefaultImplementation.copy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a copy of this object.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a deep copy of this object, the attribute values are
reference copied and the relationships are copied by calling
copy(NSMutableDictionary) on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyClassRelationships(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination)
This copies related objects from the source
ERXCopyable to
the destination by calling deepCopyRelationship on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship)
This copies the object(s) for the named relationship from the source
ERXCopyable to the destination by calling
copy(NSMutableDictionary) on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyToManyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship) |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyToOneRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship) |
static <T extends ERXCopyable<T>> |
ERXCopyable.DefaultImplementation.duplicate(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a deep copy of this object.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Creates a new instance of the
source 's Entity, then steps
through all attributes and relationships, copying them as defined in
each property's UserInfo dictionary in the EOModel. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyAttribute(T source,
T destination,
EOAttribute attribute) |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyClassAttributes(T source,
T destination) |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyClassRelationships(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination)
Reads the values set in the EOModel's attribute and relationship
UserInfo dictionaries and then uses them to control how the
source object is copied. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship)
Reads the values set in the EOModel's attribute and relationship
UserInfo dictionaries and then uses them to control how the
source object is copied. |
Modifier and Type | Method and Description |
---|---|
T |
ERXCopyable.copy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects)
Returns a copy of this object, copying related objects as well.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.DefaultImplementation.copy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a copy of this object.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a deep copy of this object, the attribute values are
reference copied and the relationships are copied by calling
copy(NSMutableDictionary) on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyClassRelationships(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination)
This copies related objects from the source
ERXCopyable to
the destination by calling deepCopyRelationship on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship)
This copies the object(s) for the named relationship from the source
ERXCopyable to the destination by calling
copy(NSMutableDictionary) on them. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyToManyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship) |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.deepCopyToOneRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship) |
T |
ERXCopyable.duplicate(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects)
Returns a copy of this object.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.DefaultImplementation.duplicate(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Returns a deep copy of this object.
|
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopy(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source)
Creates a new instance of the
source 's Entity, then steps
through all attributes and relationships, copying them as defined in
each property's UserInfo dictionary in the EOModel. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyClassRelationships(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination)
Reads the values set in the EOModel's attribute and relationship
UserInfo dictionaries and then uses them to control how the
source object is copied. |
static <T extends ERXCopyable<T>> |
ERXCopyable.Utility.modelCopyRelationship(NSMutableDictionary<EOGlobalID,ERXCopyable<?>> copiedObjects,
T source,
T destination,
EORelationship relationship)
Reads the values set in the EOModel's attribute and relationship
UserInfo dictionaries and then uses them to control how the
source object is copied. |
Copyright © 2002 – 2024 Project Wonder.