Class MdObjectResource
java.lang.Object
com._1c.g5.v8.dt.internal.md.compare.MdObjectResource
- All Implemented Interfaces:
IResource
A resource providing access to a MD object, as well as to its child MD objects (by their symbolic links).
-
Constructor Summary
ConstructorsConstructorDescriptionMdObjectResource
(MdObject mdObject, ComparisonSide side) Constructs a resource with the specified MD object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a child to the resource.getChild
(ComparisonContext comparisonContext, Object key) Returns a child object by its key.getObject
(ComparisonContext comparisonContext) Returns the contained object.
-
Constructor Details
-
MdObjectResource
Constructs a resource with the specified MD object.- Parameters:
mdObject
- the main (top) MD object of the resource, notnull
side
- The comparison side for the resource, notnull
-
-
Method Details